diff --git a/depot/hosts/samhain/nixos.nix b/depot/hosts/samhain/nixos.nix index 49a40ed3..d01e3c68 100644 --- a/depot/hosts/samhain/nixos.nix +++ b/depot/hosts/samhain/nixos.nix @@ -44,6 +44,10 @@ in { device = "/dev/disk/by-uuid/AED6-D0D1"; fsType = "vfat"; }; + "/mnt/xstore" = { + device = "/dev/disk/by-uuid/64269102-a278-4919-9118-34e37f4afdb0"; + fsType = "xfs"; + }; }; swapDevices = [ diff --git a/depot/profiles/gui/nfs.nix b/depot/profiles/gui/nfs.nix index dc965a14..fb7b1d5b 100644 --- a/depot/profiles/gui/nfs.nix +++ b/depot/profiles/gui/nfs.nix @@ -1,10 +1,10 @@ -{ config, lib, ... }: +{ config, lib, meta, ... }: { boot.supportedFilesystems = [ "nfs" ]; fileSystems."/mnt/kat-nas" = lib.mkIf (config.networking.hostName != "beltane") { - device = "192.168.1.223:/mnt/zraw/media"; + device = "${meta.network.nodes.beltane.network.addresses.private.domain}:/mnt/zraw/media"; fsType = "nfs"; options = [ "x-systemd.automount" "noauto" "nfsvers=4" "soft" "retrans=2" "timeo=60"]; }; diff --git a/depot/profiles/vfio/default.nix b/depot/profiles/vfio/default.nix index 731fe385..447f4334 100644 --- a/depot/profiles/vfio/default.nix +++ b/depot/profiles/vfio/default.nix @@ -6,12 +6,16 @@ let win10-screenstub = pkgs.writeShellScriptBin "win10-screenstub" '' ${pkgs.screenstub-kat}/bin/screenstub -c "${./screenstub.yml}" x ''; + win10-diskmapper = pkgs.writeShellScriptBin "win10-diskmapper" '' + sudo ${pkgs.disk-mapper}/bin/disk-mapper /dev/disk/by-id/ata-ST2000DM008-2FR102_WK301C3H-part2 + ''; in { deploy.profile.vfio = true; environment.systemPackages = with pkgs; [ screenstub-kat win10-vm + win10-diskmapper ddcutil ]; diff --git a/depot/services/kattv-ingest/default.nix b/depot/services/kattv-ingest/default.nix index 9fa49690..a2803523 100644 --- a/depot/services/kattv-ingest/default.nix +++ b/depot/services/kattv-ingest/default.nix @@ -34,7 +34,6 @@ let }; }; videoconvert_gpu = [ - # TODO: vulkancolorconvert? "glupload" "glcolorconvert" "gldownload" diff --git a/depot/users/kat/base/vim/default.nix b/depot/users/kat/base/vim/default.nix index 23a9c6fa..2d2d0bdd 100644 --- a/depot/users/kat/base/vim/default.nix +++ b/depot/users/kat/base/vim/default.nix @@ -47,7 +47,7 @@ "rust-analyzer.procMacro.enable" = true; "rust-analyzer.cargo.loadOutDirsFromCheck" = true; "rust-analyzer.cargo-watch.enable" = - true; # TODO: want some way to toggle this on-demand? + true; "rust-analyzer.completion.addCallParenthesis" = false; # consider using this? "rust-analyzer.hoverActions.linksInHover" = true; diff --git a/depot/users/kat/sway/sway.nix b/depot/users/kat/sway/sway.nix index 0c53f9b3..b485451c 100644 --- a/depot/users/kat/sway/sway.nix +++ b/depot/users/kat/sway/sway.nix @@ -148,7 +148,6 @@ in size = config.kw.font.size; }; terminal = "${pkgs.foot}/bin/foot"; - # TODO: replace with wofi menu = "${pkgs.j4-dmenu-desktop}/bin/j4-dmenu-desktop --no-generic --dmenu=\"${dmenu}\" --term='${footwrap}/bin/footwrap'"; modifier = "Mod4"; diff --git a/nix/sources.json b/nix/sources.json index 2977237a..590f5d60 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -29,10 +29,10 @@ "homepage": "", "ref": "main", "repo": "https://gitlab.com/hexchen/nixfiles", - "rev": "ef358992030e9a6fa975a24bf4d9aa133bc72424", - "sha256": "01hcdrpfc8g1bbc96h7gi04zmyxi9vd7392ncadwfkx5xfd2fp17", + "rev": "7f4b4fdb556d27bcc3a56eb483dfe69c7bdb6fe0", + "sha256": "10s7g15wj4g41rfazyqcxw7vdlf9phv84kspha85js3gwgsszv05", "type": "tarball", - "url": "https://gitlab.com/hexchen/nixfiles/-/archive/ef358992030e9a6fa975a24bf4d9aa133bc72424.tar.gz", + "url": "https://gitlab.com/hexchen/nixfiles/-/archive/7f4b4fdb556d27bcc3a56eb483dfe69c7bdb6fe0.tar.gz", "url_template": "/-/archive/.tar.gz" }, "home-manager": { @@ -53,10 +53,10 @@ "homepage": null, "owner": "kittywitch", "repo": "nixexprs", - "rev": "c6ea4f2270ea2bf06af32a397e8c13a00b59e3d1", - "sha256": "0r3nsgbn4s5vjgscmf8rgpyh42aj56zmwmrmissbr7n4p2d0wq54", + "rev": "ec103efa6b2cdea47ae1c24d5451ed32a782a9a6", + "sha256": "0dy7zpajv5vlsdi8j8fcvhlgx6ik9kfi34g393xf9l4n41vm2fky", "type": "tarball", - "url": "https://github.com/kittywitch/nixexprs/archive/c6ea4f2270ea2bf06af32a397e8c13a00b59e3d1.tar.gz", + "url": "https://github.com/kittywitch/nixexprs/archive/ec103efa6b2cdea47ae1c24d5451ed32a782a9a6.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "niv": { @@ -87,10 +87,10 @@ "homepage": "", "owner": "nixos", "repo": "nixpkgs", - "rev": "e41ba38114055832e5ba4a851e9c00149eef3e4a", - "sha256": "01qh41a912vk6fsdh3w6wsl45ml0lbqlc9akpbw2hasjf6wwg3kn", + "rev": "23485f23ff8536592b5178a5d244f84da770bc87", + "sha256": "1x1r93za9fmaqa31d32whxns87x8iwl7bjfl52jwl79zmxg8pqxc", "type": "tarball", - "url": "https://github.com/nixos/nixpkgs/archive/e41ba38114055832e5ba4a851e9c00149eef3e4a.tar.gz", + "url": "https://github.com/nixos/nixpkgs/archive/23485f23ff8536592b5178a5d244f84da770bc87.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "nur": { @@ -99,10 +99,10 @@ "homepage": "https://nur.nix-community.org/", "owner": "nix-community", "repo": "NUR", - "rev": "5298d04f01a57b43e00c642304477ede0ab6896c", - "sha256": "19v1qvvh9kh09szi0a097l0ig1z2k4f0cf6vlj32ihg8isfx3jni", + "rev": "44fa56b415dcb37566e686c32b0877a0f8ab9829", + "sha256": "1alf0yy0yarbzpq48176bad0zby4slq6ya6nfisx38hf14djhpr1", "type": "tarball", - "url": "https://github.com/nix-community/NUR/archive/5298d04f01a57b43e00c642304477ede0ab6896c.tar.gz", + "url": "https://github.com/nix-community/NUR/archive/44fa56b415dcb37566e686c32b0877a0f8ab9829.tar.gz", "url_template": "https://github.com///archive/.tar.gz" }, "tf-nix": {