niv update, vm disk mapper, storage overhaul

This commit is contained in:
kat witch 2021-08-17 19:39:46 +01:00
parent f2780b1647
commit 64d28aeb73
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
7 changed files with 23 additions and 17 deletions

View file

@ -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 = [

View file

@ -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"];
};

View file

@ -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
];

View file

@ -34,7 +34,6 @@ let
};
};
videoconvert_gpu = [
# TODO: vulkancolorconvert?
"glupload"
"glcolorconvert"
"gldownload"

View file

@ -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;

View file

@ -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";

View file

@ -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": "<repo>/-/archive/<rev>.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/<owner>/<repo>/archive/<rev>.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/<owner>/<repo>/archive/<rev>.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/<owner>/<repo>/archive/<rev>.tar.gz"
},
"tf-nix": {