Compare commits
7
Commits
335a6b3238
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
781ea4f7b5 | ||
|
|
734f9db4ba | ||
|
|
3cf8aff4d9 | ||
|
|
56d4fe4a3d | ||
|
|
cb8f7107f5 | ||
|
|
f5991f624a | ||
|
|
54bf93d7a0 |
+4
-3
@@ -103,10 +103,9 @@
|
||||
enable = true;
|
||||
ports = [ 22 ];
|
||||
settings = {
|
||||
PasswordAuthentication = true;
|
||||
PasswordAuthentication = false;
|
||||
KbdInteractiveAuthentication = false;
|
||||
# AllowUsers = [ "backup" ];
|
||||
# UseDns = true;
|
||||
AuthenticationMethods = "publickey";
|
||||
X11Forwarding = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
@@ -138,5 +137,7 @@
|
||||
system.stateVersion = "24.11"; # Did you read the comment?
|
||||
|
||||
nix.settings.trusted-users = [ "shatteredmint" ];
|
||||
# if people get to that point we are fucked anyways
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -60,4 +60,9 @@
|
||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
# required for ZFS
|
||||
networking.hostId = "00000001";
|
||||
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -14,8 +14,6 @@
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
|
||||
Generated
+9
-9
@@ -27,11 +27,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1778535464,
|
||||
"narHash": "sha256-kkUQYSv70wynJ/DfnGals6r98I6bK3CVNVTN1zbAd7Y=",
|
||||
"lastModified": 1781365335,
|
||||
"narHash": "sha256-zqDBhXMzfbdlO7F2bGHe7MOtB3xngd/+4ieMHDC+ZXo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "b659c7ffd40fc9e3bb60d420c79c67e769b9f4ab",
|
||||
"rev": "5b6f5733726a1b2ccafb5dec6ac4ca7299fad66c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -42,11 +42,11 @@
|
||||
},
|
||||
"nix-flatpak": {
|
||||
"locked": {
|
||||
"lastModified": 1777402031,
|
||||
"narHash": "sha256-6gkfl9y3+ti0Z6dgby8/R4/DRT8sWU0I0TLCIxwWtjk=",
|
||||
"lastModified": 1780908363,
|
||||
"narHash": "sha256-llGS4y3Qh1eUkli3/Y2VY9FV3GOUKFZR1E2BDftt45Q=",
|
||||
"owner": "gmodena",
|
||||
"repo": "nix-flatpak",
|
||||
"rev": "22a3adbe7c5c8c8a10a635d32c9ef7fc01a6e4b8",
|
||||
"rev": "1df08625f0f8c7d6e300a0e5df7955bbb877d809",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -57,11 +57,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1777954456,
|
||||
"narHash": "sha256-hGdgeU2Nk87RAuZyYjyDjFL6LK7dAZN5RE9+hrDTkDU=",
|
||||
"lastModified": 1781074563,
|
||||
"narHash": "sha256-md8WlXOlfnIeHeOScMTTHFyf2d6iaTwPl2apR5EQ3P4=",
|
||||
"owner": "NixOs",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "549bd84d6279f9852cae6225e372cc67fb91a4c1",
|
||||
"rev": "9ae611a455b90cf061d8f332b977e387bda8e1ca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
specialArgs = inputs;
|
||||
modules = [
|
||||
./devices/desk.nix
|
||||
./hardware/nvidia.nix
|
||||
./hardware/scanner.nix
|
||||
|
||||
./configuration.nix
|
||||
@@ -37,7 +36,7 @@
|
||||
./backup-target.nix
|
||||
|
||||
./users/shatteredmint.nix
|
||||
# ./qemu-bridges.nix
|
||||
./qemu-bridges.nix
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
networking.interfaces.virtbr0 = {
|
||||
useDHCP = true;
|
||||
macAddress = "04:92:26:c3:06:c2";
|
||||
};
|
||||
|
||||
virtualisation.libvirtd = {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
wg-quick = {
|
||||
# enable = true;
|
||||
interfaces.wg0 = {
|
||||
adress = [ ("192.168.87." + builtins.toString(ip) + "/32")];
|
||||
address = [ ("192.168.87." + builtins.toString(ip) + "/32")];
|
||||
listenPort = 56878;
|
||||
privateKeyFile = "/root/wg.keys";
|
||||
dns = [ "192.168.178.108" ];
|
||||
|
||||
Reference in New Issue
Block a user