disable docker, update inputs

This commit is contained in:
illustris 2023-10-16 10:00:47 +05:30
parent 679838ff67
commit 42e860ff11
Signed by: illustris
GPG Key ID: 56C8FC0B899FEFA3
3 changed files with 17 additions and 14 deletions

View File

@ -160,7 +160,9 @@
}; };
in { in {
illustris = { illustris = {
extraGroups = [ "adb" "dialout" "docker" "libvirtd" "plugdev" "tty" "wheel" ]; extraGroups = [
"adb" "dialout" "libvirtd" "plugdev" "tty" "wheel"
] ++ lib.optionals config.virtualisation.docker.enable [ "docker" ];
isNormalUser = true; isNormalUser = true;
openssh.authorizedKeys.keyFiles = [ ghKeys ]; openssh.authorizedKeys.keyFiles = [ ghKeys ];
}; };
@ -169,7 +171,7 @@
virtualisation = { virtualisation = {
docker = { docker = {
enable = true; enable = false;
enableNvidia = true; enableNvidia = true;
# extraOptions = "--storage-opt dm.basesize=20G"; # extraOptions = "--storage-opt dm.basesize=20G";
storageDriver = "zfs"; storageDriver = "zfs";

24
flake.lock generated
View File

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692763155, "lastModified": 1697410455,
"narHash": "sha256-qMrGKZ8c/q/mHO3ZdrcBPwiVVXPLLgXjY98Ejqb5kAA=", "narHash": "sha256-jCs/ffIP3tUPN7HWWuae4BB8+haAw2NI02z5BQvWMGM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6a20e40acaebf067da682661aa67da8b36812606", "rev": "78125bc681d12364cb65524eaa887354134053d0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692448348, "lastModified": 1696635169,
"narHash": "sha256-/Wy9Bzw59A5OD82S9dWHshg+wiSzJNh95hPXNhO5K7E=", "narHash": "sha256-gOjLe7maQ58erN/9ykb6d2ePAU7QAT1D8u7qin9gt+c=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "bdb5bcad01ff7332fdcf4b128211e81905113f84", "rev": "b2a2133c9a0b0aa4d06d72b5891275f263ee08df",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -49,11 +49,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1693132095, "lastModified": 1696731079,
"narHash": "sha256-MZzCHu0IunZV8gBjg5eaobA5a9o0ERNwh39GRJvJxeo=", "narHash": "sha256-77dnvNitOw2Ojsh1BoDsHyoiQkE03wy6IIuGm/wyrK8=",
"owner": "illustris", "owner": "illustris",
"repo": "flake", "repo": "flake",
"rev": "0a57fc904aa38b1fdcfa15699e4a6eee58cbc683", "rev": "099fe9635bedf12e758eff682efcd3f56881b65a",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -84,11 +84,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1692913444, "lastModified": 1697059129,
"narHash": "sha256-1SvMQm2DwofNxXVtNWWtIcTh7GctEVrS/Xel/mdc6iY=", "narHash": "sha256-9NJcFF9CEYPvHJ5ckE8kvINvI84SZZ87PvqMbH6pro0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "18324978d632ffc55ef1d928e81630c620f4f447", "rev": "5e4c2ada4fcd54b99d56d7bd62f384511a7e2593",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -14,6 +14,7 @@
kernelModules = [ ]; kernelModules = [ ];
}; };
kernelModules = [ "v4l2loopback" ]; kernelModules = [ "v4l2loopback" ];
kernelParams = [ "mitigations=off" ];
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ]; extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
}; };