summaryrefslogtreecommitdiff
path: root/nix_archive/hosts/sofue
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-10-17 12:22:00 -0400
committerAndrew Opalach <andrew@akon.city> 2025-10-17 12:32:42 -0400
commit544da1ba50d9cbf51a18ca0abf1db66b3baa7460 (patch)
tree1caa87664ea4937c5f4e6e8dc83c49b3132ddd70 /nix_archive/hosts/sofue
parent85a47287e56ba9100420246531ebea5996cc0486 (diff)
downloaddotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.gz
dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.tar.bz2
dotfiles-544da1ba50d9cbf51a18ca0abf1db66b3baa7460.zip
Gentoo desktop
Diffstat (limited to 'nix_archive/hosts/sofue')
-rw-r--r--nix_archive/hosts/sofue/configuration.nix267
-rw-r--r--nix_archive/hosts/sofue/gccarch_mesa.nix10
-rw-r--r--nix_archive/hosts/sofue/incus.yaml694
-rw-r--r--nix_archive/hosts/sofue/programs.nix29
4 files changed, 1000 insertions, 0 deletions
diff --git a/nix_archive/hosts/sofue/configuration.nix b/nix_archive/hosts/sofue/configuration.nix
new file mode 100644
index 0000000..f3f908e
--- /dev/null
+++ b/nix_archive/hosts/sofue/configuration.nix
@@ -0,0 +1,267 @@
+{ config, lib, pkgs, modulesPath, ... }:
+let
+ loc = config.local;
+ colo = loc.scheme;
+ inherit (import ../../nix/settings.nix) disks;
+in rec {
+ imports = [
+ "${modulesPath}/virtualisation/lxc-container.nix"
+ ../../nix/system.nix
+ ../../nix/x86.nix
+ ../../nix/user.nix
+ ../../nix/bluetooth.nix
+ ../../nix/email.nix
+ ../../nix/amdgpu.nix
+ #../../nix/intel.nix
+ ../../nix/gaming.nix
+ ../../nix/steam.nix
+ ../../nix/virtualisation.nix
+ ../../nix/scripts.nix
+ ../../nix/programs/bash.nix
+ ../../nix/programs/nvim.nix
+ ../../nix/programs/sway.nix
+ ../../nix/programs/kitty.nix
+ ../../nix/programs/firefox.nix
+ ../../nix/programs/obs.nix
+ ../../nix/programs/kdeconnect.nix
+ #../../nix/programs/docker.nix
+ ./programs.nix
+ ];
+
+ local = rec {
+ font = {
+ name = "Comic Code";
+ size = 13;
+ baseline = -2;
+ cell-height-offset = 1;
+ };
+ ui-font = {
+ name = "Livvic";
+ size = 11;
+ baseline = 0;
+ cell-height-offset = 0;
+ };
+ emoji-font = {
+ name = "Blobmoji";
+ size = ui-font.size;
+ baseline = 0;
+ cell-height-offset = 0;
+ };
+ scheme = import ../../themes/street_fighter_summer/street_fighter_summer.nix;
+ starter = {
+ top_padding = 2;
+ picture = ../../themes/street_fighter_summer/cammy_splash.png;
+ width = 60;
+ padding = {
+ top = -9;
+ left = -9;
+ text = 5;
+ };
+ position = "left";
+ header = "";
+ footer = "";
+ footer-offset = 0;
+ };
+ monitors = {
+ #monitor1 = "DP-2";
+ #monitor2 = "HDMI-A-3";
+ #monitor3 = "DP-1";
+ monitor1 = "DP-1";
+ monitor2 = "DP-2";
+ monitor3 = "HDMI-A-1";
+ };
+ };
+
+ boot.isContainer = true;
+
+ users.groups.audio.gid = lib.mkForce 18;
+ users.groups.cdrom.gid = lib.mkForce 19;
+ users.groups.dialout.gid = lib.mkForce 20;
+ users.groups.floppy.gid = lib.mkForce 11;
+ users.groups.input.gid = lib.mkForce 97;
+ users.groups.lp.gid = lib.mkForce 7;
+ users.groups.render.gid = lib.mkForce 28;
+ users.groups.uucp.gid = lib.mkForce 14;
+ users.groups.video.gid = lib.mkForce 27;
+
+ nix.settings.system-features = [ "gccarch-znver2" ];
+ nixpkgs.hostPlatform = {
+ #gcc.arch = "znver2";
+ #gcc.tune = "znver2";
+ system = "x86_64-linux";
+ };
+
+ boot.binfmt.emulatedSystems = [ "armv7l-linux" "aarch64-linux" ];
+ # Only needed in containers.
+ fileSystems."/proc/sys/fs/binfmt_misc" = {
+ device = "binfmt_misc";
+ fsType = "binfmt_misc";
+ };
+
+ networking = {
+ hostName = "sofue";
+ wireless.enable = false;
+ dhcpcd.enable = false;
+ useDHCP = false;
+ useHostResolvConf = false;
+ firewall.enable = false;
+ extraHosts = ''
+ 192.168.1.192 iroha
+ 192.168.1.206 moyo
+ 192.168.1.207 denpa
+ 192.168.1.234 zasshi
+ 66.135.26.42 rod
+ 108.52.160.112 boomerang
+ '';
+ };
+ systemd.network = {
+ enable = true;
+ networks."50-eth0" = {
+ matchConfig.Name = "eth0";
+ networkConfig = {
+ DHCP = "ipv4";
+ IPv6AcceptRA = true;
+ };
+ linkConfig.RequiredForOnline = "routable";
+ };
+ };
+
+ fileSystems."/media/cdrom" = {
+ device = "/dev/sr0";
+ fsType = "udf,iso9660";
+ options = disks.cdrom_options;
+ };
+
+ services.flatpak.enable = true;
+
+ environment.systemPackages = with pkgs; [
+ linuxPackages_latest.perf
+ linuxPackages_latest.cpupower
+ (writeShellScriptBin "run-sway" ''
+ export TTY=/dev/tty3
+ export XDG_VTNR=3
+ export WLR_RENDERER=vulkan
+ export PULSE_SERVER=unix:/home/andrew/.pulsewire-native-socket
+ export PIPEWIRE_REMOTE=/tmp/pipewire-0-manager
+ cd $HOME
+ exec ${kbd}/bin/openvt --switch --login --console 3 -f -- ${swayfx}/bin/sway
+ '')
+ pipewire # Using server from host.
+ pavucontrol
+ ];
+
+ systemd.services.copy-udev = {
+ description = "Copy host udev data to container";
+ after = [ "multi-user.target" "rc-local.service" "systemd-user-sessions.service" ];
+ wantedBy = [ "multi-user.target" ];
+ serviceConfig = {
+ Type = "oneshot";
+ ExecStart = "/bin/sh -c '${pkgs.coreutils}/bin/cp /tmp/udev/data/* /run/udev/data/'";
+ RemainAfterExit = true;
+ };
+ };
+
+ home-manager.users.andrew = let
+ homeDir = "${config.users.users.andrew.home}";
+ in {
+ programs.kitty = {
+ # My understanding is that if repaint_delay equates to a refresh rate
+ # of just under my monitor's that VRR can avoid all tearing.
+ extraConfig = ''
+ repaint_delay 7
+ input_delay 1
+ '';
+ };
+ wayland.windowManager.sway = let
+ monitor1 = loc.monitors.monitor1;
+ monitor2 = loc.monitors.monitor2;
+ monitor3 = loc.monitors.monitor3;
+ in {
+ checkConfig = false;
+ config = {
+ output = {
+ "${monitor1}" = {
+ mode = "2560x1440@144.000Hz";
+ position = "3000 200";
+ #position = "1080 200";
+ allow_tearing = "yes";
+ max_render_time = "off";
+ adaptive_sync = "on";
+ render_bit_depth = "10";
+ bg = "${../../themes/street_fighter_summer/wallpaper1.png} fit";
+ };
+ "${monitor2}" = {
+ mode = "1920x1080@60.000Hz";
+ transform = "270";
+ position = "1920 0";
+ #position = "0 0";
+ allow_tearing = "no";
+ max_render_time = "7";
+ render_bit_depth = "10";
+ bg = "${../../themes/street_fighter_summer/wallpaper_vert2.png} fit";
+ };
+ "${monitor3}" = {
+ mode = "1920x1080@60.000Hz";
+ position = "0 1000";
+ max_render_time = "7";
+ render_bit_depth = "10";
+ allow_tearing = "no";
+ bg = "#${colo.background-alt} solid_color";
+ };
+ };
+ workspaceOutputAssign = [
+ { workspace = "1"; output = "${monitor1}"; }
+ { workspace = "2"; output = "${monitor1}"; }
+ { workspace = "3"; output = "${monitor1}"; }
+ { workspace = "4"; output = "${monitor1}"; }
+ { workspace = "5"; output = "${monitor2}"; }
+ { workspace = "6"; output = "${monitor2}"; }
+ { workspace = "7"; output = "${monitor2}"; }
+ { workspace = "8"; output = "${monitor2}"; }
+ { workspace = "9"; output = "${monitor3}"; }
+ ];
+ keybindings = let
+ mod1 = "Mod1";
+ mod4 = "Mod4";
+ in {
+ "${mod1}+1" = "workspace 1";
+ "${mod1}+2" = "workspace 2";
+ "${mod1}+3" = "workspace 3";
+ "${mod1}+4" = "workspace 4";
+ "${mod4}+1" = "workspace 5";
+ "${mod4}+2" = "workspace 6";
+ "${mod4}+3" = "workspace 7";
+ "${mod4}+4" = "workspace 8";
+ "${mod4}+5" = "workspace 9";
+ "${mod4}+z" = "fullscreen toggle";
+ "${mod1}+Shift+1" = "move container to workspace 1";
+ "${mod1}+Shift+2" = "move container to workspace 2";
+ "${mod1}+Shift+3" = "move container to workspace 3";
+ "${mod1}+Shift+4" = "move container to workspace 4";
+ "${mod4}+Shift+1" = "move container to workspace 5";
+ "${mod4}+Shift+2" = "move container to workspace 6";
+ "${mod4}+Shift+3" = "move container to workspace 7";
+ "${mod4}+Shift+4" = "move container to workspace 8";
+ "${mod4}+Shift+5" = "move container to workspace 9";
+ "${mod4}+r" = "exec swaymsg -- output ${monitor1} transform 90";
+ "${mod4}+Shift+r" = "exec swaymsg -- output ${monitor1} transform 0";
+ "${mod4}+F1" = "exec swaymsg -- output ${monitor1} bg \\#${colo.background-alt} solid_color";
+ "${mod4}+F2" = "exec swaymsg -- output ${monitor1} bg ${../../themes/street_fighter_summer/wallpaper1.png} fit";
+ "${mod4}+F3" = "exec swaymsg -- output ${monitor2} bg \\#${colo.background-alt} solid_color";
+ "${mod4}+F4" = "exec swaymsg -- output ${monitor2} bg ${../../themes/street_fighter_summer/wallpaper_vert1.png} fit";
+ "${mod4}+F5" = "exec swaymsg -- output ${monitor2} bg ${../../themes/street_fighter_summer/wallpaper_vert2.png} fit";
+ #"${mod4}+F1" = "exec printf '||' > $HOME/.config/taro/${monitor1}/selection";
+ #"${mod4}+F2" = "exec printf '||' > $HOME/.config/taro/${monitor1}/selection";
+ "Pause" = "exec $HOME/c/camu/scripts/cmv_add.sh PAUSE";
+ };
+ startup = [
+ #{ command = "${pkgs.mauri}/bin/tarod"; }
+ ];
+ };
+ };
+
+ home.stateVersion = "${config.system.stateVersion}";
+ };
+
+ system.stateVersion = "25.05";
+}
diff --git a/nix_archive/hosts/sofue/gccarch_mesa.nix b/nix_archive/hosts/sofue/gccarch_mesa.nix
new file mode 100644
index 0000000..e06bdd5
--- /dev/null
+++ b/nix_archive/hosts/sofue/gccarch_mesa.nix
@@ -0,0 +1,10 @@
+let
+ pkgs = import <nixpkgs> {
+ localSystem = {
+ gcc.arch = "znver2";
+ gcc.tune = "znver2";
+ system = "x86_64-linux";
+ };
+ };
+in
+ pkgs.mesa
diff --git a/nix_archive/hosts/sofue/incus.yaml b/nix_archive/hosts/sofue/incus.yaml
new file mode 100644
index 0000000..407e604
--- /dev/null
+++ b/nix_archive/hosts/sofue/incus.yaml
@@ -0,0 +1,694 @@
+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,udf
+ 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: veth812d6ba0
+ 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:
+ 8bitdom30:
+ gid: "97"
+ mode: "0666"
+ productid: "0024"
+ type: unix-hotplug
+ vendorid: 0ca3
+ 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:
+ gid: "100"
+ 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: /mnt/nfs/c
+ source: /mnt/nfs/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
+ ext_ssd:
+ path: /mnt/ext_ssd
+ source: /mnt/ext_ssd
+ type: disk
+ 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:
+ gid: "100"
+ 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: /mnt/nfs/pics
+ source: /mnt/nfs/pics
+ type: disk
+ samba:
+ path: /mnt/nfs/samba
+ source: /mnt/nfs/samba
+ type: disk
+ ssd:
+ path: /mnt/ssd
+ source: /mnt/ssd
+ type: disk
+ store:
+ path: /mnt/store
+ source: /mnt/store
+ type: disk
+ switchpro:
+ gid: "97"
+ mode: "0666"
+ productid: "2009"
+ type: unix-hotplug
+ vendorid: 057e
+ 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:
+ gid: "100"
+ 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,udf
+ 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: veth812d6ba0
+ 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:
+ 8bitdom30:
+ gid: "97"
+ mode: "0666"
+ productid: "0024"
+ type: unix-hotplug
+ vendorid: 0ca3
+ 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:
+ gid: "100"
+ 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: /mnt/nfs/c
+ source: /mnt/nfs/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
+ ext_ssd:
+ path: /mnt/ext_ssd
+ source: /mnt/ext_ssd
+ type: disk
+ 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:
+ gid: "100"
+ 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: /mnt/nfs/pics
+ source: /mnt/nfs/pics
+ type: disk
+ root:
+ path: /
+ pool: default
+ type: disk
+ samba:
+ path: /mnt/nfs/samba
+ source: /mnt/nfs/samba
+ type: disk
+ ssd:
+ path: /mnt/ssd
+ source: /mnt/ssd
+ type: disk
+ store:
+ path: /mnt/store
+ source: /mnt/store
+ type: disk
+ switchpro:
+ gid: "97"
+ mode: "0666"
+ productid: "2009"
+ type: unix-hotplug
+ vendorid: 057e
+ 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:
+ gid: "100"
+ 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-27T23:32:26.92570937Z
+ 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
diff --git a/nix_archive/hosts/sofue/programs.nix b/nix_archive/hosts/sofue/programs.nix
new file mode 100644
index 0000000..d964fbf
--- /dev/null
+++ b/nix_archive/hosts/sofue/programs.nix
@@ -0,0 +1,29 @@
+{ lib, pkgs, ... }: {
+ environment.systemPackages = with pkgs; lib.lists.flatten [
+ (asNeeded "dia" ["dia"])
+ (asNeeded "gftp" ["gftp"])
+ (asNeeded "audacity" ["audacity"])
+ (asNeeded "krita" ["krita"])
+ (asNeeded "olive-editor" ["olive-editor"])
+ yt-dlp
+ (asNeeded "[chatterino2 streamlink]" ["chatterino2"])
+ (asNeeded "megatools" ["megacopy" "megadf" "megadl" "megaexport" "megaget" "megals" "megamkdir" "megaput" "megareg" "megarm" "megatest" "megatools"])
+ (asNeeded "gdown" ["gdown"])
+ wineWowPackages.staging
+ winetricks
+ cabextract
+ (asNeeded "qbittorrent" ["qbittorrent"])
+ (asNeeded "ungoogled-chromium" ["chromium"])
+ (asNeeded "brave" ["brave"])
+ (discord.override { withOpenASAR = true; })
+ (asNeeded "imv" ["imv"])
+ (asNeeded "mpv" ["mpv"])
+ (asNeeded "vlc" ["vlc"])
+ #camu
+ #camu-devshell
+ #mauri
+ ];
+ local.scripts.imports = [
+ "discord-wayland"
+ ];
+}