diff options
Diffstat (limited to 'hosts/sofue')
| -rw-r--r-- | hosts/sofue/configuration.nix | 1 | ||||
| -rw-r--r-- | hosts/sofue/incus.yaml | 656 |
2 files changed, 656 insertions, 1 deletions
diff --git a/hosts/sofue/configuration.nix b/hosts/sofue/configuration.nix index b346322..a05ccf4 100644 --- a/hosts/sofue/configuration.nix +++ b/hosts/sofue/configuration.nix @@ -21,7 +21,6 @@ in rec { ../../nix/programs/kitty.nix ../../nix/programs/firefox.nix ../../nix/programs/obs.nix - ../../nix/programs/waydroid.nix ../../nix/programs/kdeconnect.nix ../../nix/programs/docker.nix ./programs.nix diff --git a/hosts/sofue/incus.yaml b/hosts/sofue/incus.yaml new file mode 100644 index 0000000..b01d237 --- /dev/null +++ b/hosts/sofue/incus.yaml @@ -0,0 +1,656 @@ +container: + architecture: x86_64 + config: + image.architecture: amd64 + image.description: Nixos unstable amd64 (20240402_02:18) + image.os: Nixos + image.release: unstable + image.requirements.secureboot: "false" + image.serial: "20240402_02:18" + image.type: squashfs + image.variant: default + limits.kernel.memlock: unlimited + limits.kernel.nice: "-11" + limits.kernel.nofile: "1048576" + limits.kernel.rtprio: "99" + raw.lxc: |- + lxc.mount.auto = proc:rw sys:rw cgroup:rw:force + lxc.cgroup2.devices.allow = c 7:* rwm + lxc.cgroup2.devices.allow = c 10:* rwm + lxc.cgroup2.devices.allow = c 13:* rwm + lxc.cgroup2.devices.allow = c 116:* rwm + lxc.cgroup2.devices.allow = c 189:* rwm + lxc.cgroup2.devices.allow = c 226:0 rwm + lxc.cgroup2.devices.allow = c 226:128 rwm + lxc.cgroup2.devices.allow = c 247:* rwm + security.nesting: "true" + security.privileged: "false" + security.syscalls.intercept.bpf: "true" + security.syscalls.intercept.bpf.devices: "true" + security.syscalls.intercept.mknod: "true" + security.syscalls.intercept.mount: "true" + security.syscalls.intercept.mount.allowed: ext4,fat32,ntfs + security.syscalls.intercept.mount.shift: "true" + security.syscalls.intercept.sched_setscheduler: "true" + security.syscalls.intercept.setxattr: "true" + security.syscalls.intercept.sysinfo: "true" + volatile.base_image: b57963b527b192cbd262777b137333def448e7dc21fbf954e75a51f1b8acef5c + volatile.cloud-init.instance-id: 8d938ed8-c204-48e1-9670-f3aea059fd57 + volatile.eth0.host_name: veth4220df45 + volatile.eth0.hwaddr: 00:16:3e:c3:79:59 + volatile.idmap.base: "0" + volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1001001,"Nsid":1001,"Maprange":999998999},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":17},{"Isuid":false,"Isgid":true,"Hostid":18,"Nsid":17,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000018,"Nsid":18,"Maprange":82},{"Isuid":false,"Isgid":true,"Hostid":100,"Nsid":100,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000101,"Nsid":101,"Maprange":73},{"Isuid":false,"Isgid":true,"Hostid":97,"Nsid":174,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000175,"Nsid":175,"Maprange":999999825}]' + volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1001001,"Nsid":1001,"Maprange":999998999},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":17},{"Isuid":false,"Isgid":true,"Hostid":18,"Nsid":17,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000018,"Nsid":18,"Maprange":82},{"Isuid":false,"Isgid":true,"Hostid":100,"Nsid":100,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000101,"Nsid":101,"Maprange":73},{"Isuid":false,"Isgid":true,"Hostid":97,"Nsid":174,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000175,"Nsid":175,"Maprange":999999825}]' + volatile.last_state.idmap: '[]' + volatile.last_state.power: RUNNING + volatile.last_state.ready: "false" + volatile.uuid: 85cd7ef4-2e99-4d9b-ad55-a0b311d3a7d0 + volatile.uuid.generation: 85cd7ef4-2e99-4d9b-ad55-a0b311d3a7d0 + devices: + PipewireSocket1: + bind: container + connect: unix:/run/user/1000/pipewire-0 + gid: "100" + listen: unix:/tmp/pipewire-0 + mode: "0666" + security.gid: "100" + security.uid: "1000" + type: proxy + uid: "1000" + PipewireSocket2: + bind: container + connect: unix:/run/user/1000/pipewire-0-manager + gid: "100" + listen: unix:/tmp/pipewire-0-manager + mode: "0666" + security.gid: "100" + security.uid: "1000" + type: proxy + uid: "1000" + PulseSocket1: + bind: container + connect: unix:/run/user/1000/pulse/native + gid: "100" + listen: unix:/home/andrew/.pulsewire-native-socket + mode: "0666" + security.gid: "100" + security.uid: "1000" + type: proxy + uid: "1000" + binder: + mode: "0666" + path: /dev/binder + source: /dev/binder + type: unix-char + bluraydrive: + mode: "0666" + path: /dev/sr0 + source: /dev/sr0 + type: unix-block + code: + path: /home/andrew/c + source: /home/andrew/c + type: disk + data: + path: /mnt/data + source: /mnt/data + type: disk + devshm: + path: /dev/shm2 + source: /dev/shm + type: disk + duckyone: + gid: "97" + mode: "0666" + productid: "0201" + type: unix-hotplug + vendorid: 04d9 + googlepixel: + mode: "0666" + productid: 4ee7 + type: unix-hotplug + vendorid: 18d1 + hdd: + path: /mnt/hdd + source: /mnt/hdd + type: disk + hhkb: + gid: "97" + mode: "0666" + productid: "0021" + type: unix-hotplug + vendorid: 04fe + hidraw0: + gid: "97" + mode: "0666" + path: /dev/hidraw0 + required: "false" + source: /dev/hidraw0 + type: unix-char + hidraw1: + gid: "97" + mode: "0666" + path: /dev/hidraw1 + required: "false" + source: /dev/hidraw1 + type: unix-char + hidraw2: + gid: "97" + mode: "0666" + path: /dev/hidraw2 + required: "false" + source: /dev/hidraw2 + type: unix-char + hidraw3: + gid: "97" + mode: "0666" + path: /dev/hidraw3 + required: "false" + source: /dev/hidraw3 + type: unix-char + hidraw4: + gid: "97" + mode: "0666" + path: /dev/hidraw4 + required: "false" + source: /dev/hidraw4 + type: unix-char + hostportcamu: + connect: tcp:127.0.0.1:14356 + listen: tcp:0.0.0.0:14356 + type: proxy + hwbinder: + mode: "0666" + path: /dev/hwbinder + source: /dev/hwbinder + type: unix-char + lazermouse: + gid: "97" + mode: "0666" + productid: "2510" + type: unix-hotplug + vendorid: 093a + logibolt: + gid: "97" + mode: "0666" + productid: c548 + type: unix-hotplug + vendorid: 046d + loop0: + mode: "0666" + path: /dev/loop0 + source: /dev/loop0 + type: unix-block + loop1: + mode: "0666" + path: /dev/loop1 + source: /dev/loop1 + type: unix-block + loopcontrol: + mode: "0666" + path: /dev/loop-control + source: /dev/loop-control + type: unix-char + mayflashgc: + gid: "97" + mode: "0666" + productid: "0337" + type: unix-hotplug + vendorid: 057e + ntsync: + mode: "0666" + path: /dev/ntsync + source: /dev/ntsync + type: unix-char + pcie4slotgpu: + mode: "0666" + pci: 0000:0f:00.0 + type: gpu + pics: + path: /home/andrew/pics + source: /home/andrew/pics + type: disk + ssd: + path: /mnt/ssd + source: /mnt/ssd + type: disk + store: + path: /mnt/store + source: /mnt/store + type: disk + torrents: + path: /mnt/store/files/ext/torrents + source: /mnt/store/files/ext/torrents + type: disk + tty: + mode: "0666" + path: /dev/tty + source: /dev/tty + type: unix-char + tty0: + mode: "0666" + path: /dev/tty0 + source: /dev/tty0 + type: unix-char + tty3: + mode: "0666" + path: /dev/tty3 + source: /dev/tty3 + type: unix-char + tty4: + mode: "0666" + path: /dev/tty4 + source: /dev/tty4 + type: unix-char + udevdata: + path: /tmp/udev/data + readonly: "true" + source: /run/udev/data + type: disk + uinput: + gid: "97" + mode: "0666" + path: /dev/uinput + source: /dev/uinput + type: unix-char + video0: + mode: "0666" + path: /dev/video0 + source: /dev/video0 + type: unix-char + video1: + mode: "0666" + path: /dev/video1 + required: "false" + source: /dev/video1 + type: unix-char + vndbinder: + mode: "0666" + path: /dev/vndbinder + source: /dev/vndbinder + type: unix-char + wacom: + gid: "97" + mode: "0666" + productid: 037a + type: unix-hotplug + vendorid: 056a + xbox360controller: + gid: "97" + mode: "0666" + productid: 028e + type: unix-hotplug + vendorid: 045e + xboxonecontroller: + gid: "97" + mode: "0666" + productid: "02e6" + type: unix-hotplug + vendorid: 045e + zowiemouse: + gid: "97" + mode: "0666" + productid: "8001" + type: unix-hotplug + vendorid: 04a5 + ephemeral: false + profiles: + - default + stateful: false + description: "" + created_at: 2024-04-03T13:10:43.339168029Z + expanded_config: + boot.autostart: "false" + image.architecture: amd64 + image.description: Nixos unstable amd64 (20240402_02:18) + image.os: Nixos + image.release: unstable + image.requirements.secureboot: "false" + image.serial: "20240402_02:18" + image.type: squashfs + image.variant: default + limits.kernel.memlock: unlimited + limits.kernel.nice: "-11" + limits.kernel.nofile: "1048576" + limits.kernel.rtprio: "99" + raw.idmap: |- + uid 1000 1000 + gid 100 100 + gid 18 17 + gid 97 174 + raw.lxc: |- + lxc.mount.auto = proc:rw sys:rw cgroup:rw:force + lxc.cgroup2.devices.allow = c 7:* rwm + lxc.cgroup2.devices.allow = c 10:* rwm + lxc.cgroup2.devices.allow = c 13:* rwm + lxc.cgroup2.devices.allow = c 116:* rwm + lxc.cgroup2.devices.allow = c 189:* rwm + lxc.cgroup2.devices.allow = c 226:0 rwm + lxc.cgroup2.devices.allow = c 226:128 rwm + lxc.cgroup2.devices.allow = c 247:* rwm + security.nesting: "true" + security.privileged: "false" + security.syscalls.intercept.bpf: "true" + security.syscalls.intercept.bpf.devices: "true" + security.syscalls.intercept.mknod: "true" + security.syscalls.intercept.mount: "true" + security.syscalls.intercept.mount.allowed: ext4,fat32,ntfs + security.syscalls.intercept.mount.shift: "true" + security.syscalls.intercept.sched_setscheduler: "true" + security.syscalls.intercept.setxattr: "true" + security.syscalls.intercept.sysinfo: "true" + volatile.base_image: b57963b527b192cbd262777b137333def448e7dc21fbf954e75a51f1b8acef5c + volatile.cloud-init.instance-id: 8d938ed8-c204-48e1-9670-f3aea059fd57 + volatile.eth0.host_name: veth4220df45 + volatile.eth0.hwaddr: 00:16:3e:c3:79:59 + volatile.idmap.base: "0" + volatile.idmap.current: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1001001,"Nsid":1001,"Maprange":999998999},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":17},{"Isuid":false,"Isgid":true,"Hostid":18,"Nsid":17,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000018,"Nsid":18,"Maprange":82},{"Isuid":false,"Isgid":true,"Hostid":100,"Nsid":100,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000101,"Nsid":101,"Maprange":73},{"Isuid":false,"Isgid":true,"Hostid":97,"Nsid":174,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000175,"Nsid":175,"Maprange":999999825}]' + volatile.idmap.next: '[{"Isuid":true,"Isgid":false,"Hostid":1000000,"Nsid":0,"Maprange":1000},{"Isuid":true,"Isgid":false,"Hostid":1000,"Nsid":1000,"Maprange":1},{"Isuid":true,"Isgid":false,"Hostid":1001001,"Nsid":1001,"Maprange":999998999},{"Isuid":false,"Isgid":true,"Hostid":1000000,"Nsid":0,"Maprange":17},{"Isuid":false,"Isgid":true,"Hostid":18,"Nsid":17,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000018,"Nsid":18,"Maprange":82},{"Isuid":false,"Isgid":true,"Hostid":100,"Nsid":100,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000101,"Nsid":101,"Maprange":73},{"Isuid":false,"Isgid":true,"Hostid":97,"Nsid":174,"Maprange":1},{"Isuid":false,"Isgid":true,"Hostid":1000175,"Nsid":175,"Maprange":999999825}]' + volatile.last_state.idmap: '[]' + volatile.last_state.power: RUNNING + volatile.last_state.ready: "false" + volatile.uuid: 85cd7ef4-2e99-4d9b-ad55-a0b311d3a7d0 + volatile.uuid.generation: 85cd7ef4-2e99-4d9b-ad55-a0b311d3a7d0 + expanded_devices: + PipewireSocket1: + bind: container + connect: unix:/run/user/1000/pipewire-0 + gid: "100" + listen: unix:/tmp/pipewire-0 + mode: "0666" + security.gid: "100" + security.uid: "1000" + type: proxy + uid: "1000" + PipewireSocket2: + bind: container + connect: unix:/run/user/1000/pipewire-0-manager + gid: "100" + listen: unix:/tmp/pipewire-0-manager + mode: "0666" + security.gid: "100" + security.uid: "1000" + type: proxy + uid: "1000" + PulseSocket1: + bind: container + connect: unix:/run/user/1000/pulse/native + gid: "100" + listen: unix:/home/andrew/.pulsewire-native-socket + mode: "0666" + security.gid: "100" + security.uid: "1000" + type: proxy + uid: "1000" + binder: + mode: "0666" + path: /dev/binder + source: /dev/binder + type: unix-char + bluraydrive: + mode: "0666" + path: /dev/sr0 + source: /dev/sr0 + type: unix-block + code: + path: /home/andrew/c + source: /home/andrew/c + type: disk + data: + path: /mnt/data + source: /mnt/data + type: disk + devshm: + path: /dev/shm2 + source: /dev/shm + type: disk + duckyone: + gid: "97" + mode: "0666" + productid: "0201" + type: unix-hotplug + vendorid: 04d9 + eth0: + name: eth0 + network: incusbr0 + type: nic + googlepixel: + mode: "0666" + productid: 4ee7 + type: unix-hotplug + vendorid: 18d1 + hdd: + path: /mnt/hdd + source: /mnt/hdd + type: disk + hhkb: + gid: "97" + mode: "0666" + productid: "0021" + type: unix-hotplug + vendorid: 04fe + hidraw0: + gid: "97" + mode: "0666" + path: /dev/hidraw0 + required: "false" + source: /dev/hidraw0 + type: unix-char + hidraw1: + gid: "97" + mode: "0666" + path: /dev/hidraw1 + required: "false" + source: /dev/hidraw1 + type: unix-char + hidraw2: + gid: "97" + mode: "0666" + path: /dev/hidraw2 + required: "false" + source: /dev/hidraw2 + type: unix-char + hidraw3: + gid: "97" + mode: "0666" + path: /dev/hidraw3 + required: "false" + source: /dev/hidraw3 + type: unix-char + hidraw4: + gid: "97" + mode: "0666" + path: /dev/hidraw4 + required: "false" + source: /dev/hidraw4 + type: unix-char + hostportcamu: + connect: tcp:127.0.0.1:14356 + listen: tcp:0.0.0.0:14356 + type: proxy + hwbinder: + mode: "0666" + path: /dev/hwbinder + source: /dev/hwbinder + type: unix-char + lazermouse: + gid: "97" + mode: "0666" + productid: "2510" + type: unix-hotplug + vendorid: 093a + logibolt: + gid: "97" + mode: "0666" + productid: c548 + type: unix-hotplug + vendorid: 046d + loop0: + mode: "0666" + path: /dev/loop0 + source: /dev/loop0 + type: unix-block + loop1: + mode: "0666" + path: /dev/loop1 + source: /dev/loop1 + type: unix-block + loopcontrol: + mode: "0666" + path: /dev/loop-control + source: /dev/loop-control + type: unix-char + mayflashgc: + gid: "97" + mode: "0666" + productid: "0337" + type: unix-hotplug + vendorid: 057e + ntsync: + mode: "0666" + path: /dev/ntsync + source: /dev/ntsync + type: unix-char + pcie4slotgpu: + mode: "0666" + pci: 0000:0f:00.0 + type: gpu + pics: + path: /home/andrew/pics + source: /home/andrew/pics + type: disk + root: + path: / + pool: default + type: disk + ssd: + path: /mnt/ssd + source: /mnt/ssd + type: disk + store: + path: /mnt/store + source: /mnt/store + type: disk + torrents: + path: /mnt/store/files/ext/torrents + source: /mnt/store/files/ext/torrents + type: disk + tty: + mode: "0666" + path: /dev/tty + source: /dev/tty + type: unix-char + tty0: + mode: "0666" + path: /dev/tty0 + source: /dev/tty0 + type: unix-char + tty3: + mode: "0666" + path: /dev/tty3 + source: /dev/tty3 + type: unix-char + tty4: + mode: "0666" + path: /dev/tty4 + source: /dev/tty4 + type: unix-char + udevdata: + path: /tmp/udev/data + readonly: "true" + source: /run/udev/data + type: disk + uinput: + gid: "97" + mode: "0666" + path: /dev/uinput + source: /dev/uinput + type: unix-char + video0: + mode: "0666" + path: /dev/video0 + source: /dev/video0 + type: unix-char + video1: + mode: "0666" + path: /dev/video1 + required: "false" + source: /dev/video1 + type: unix-char + vndbinder: + mode: "0666" + path: /dev/vndbinder + source: /dev/vndbinder + type: unix-char + wacom: + gid: "97" + mode: "0666" + productid: 037a + type: unix-hotplug + vendorid: 056a + xbox360controller: + gid: "97" + mode: "0666" + productid: 028e + type: unix-hotplug + vendorid: 045e + xboxonecontroller: + gid: "97" + mode: "0666" + productid: "02e6" + type: unix-hotplug + vendorid: 045e + zowiemouse: + gid: "97" + mode: "0666" + productid: "8001" + type: unix-hotplug + vendorid: 04a5 + name: sofue + status: Running + status_code: 103 + last_used_at: 2025-05-02T10:45:55.80642907Z + location: none + type: container + project: iroha +pool: + config: + source: /var/lib/incus/storage-pools/default + description: "" + name: default + driver: dir + used_by: [] + status: Created + locations: + - none +profiles: +- config: + boot.autostart: "false" + raw.idmap: |- + uid 1000 1000 + gid 100 100 + gid 18 17 + gid 97 174 + description: Incus profile for iroha + devices: + eth0: + name: eth0 + network: incusbr0 + type: nic + root: + path: / + pool: default + type: disk + name: default + used_by: [] + project: iroha +volume: + config: {} + description: "" + name: sofue + type: container + used_by: [] + location: none + content_type: filesystem + project: iroha + created_at: 2024-04-03T13:10:43.339168029Z |