Merge branch 'main' into unity2

This commit is contained in:
Miguel Palhas
2025-06-27 16:27:03 +01:00
23 changed files with 329 additions and 135 deletions
+2 -1
View File
@@ -42,6 +42,7 @@
"input"
"wheel"
"docker"
"dialout"
];
shell = pkgs.zsh;
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
@@ -49,7 +50,7 @@
let
authorizedKeys = pkgs.fetchurl {
url = "https://github.com/naps62.keys";
sha256 = "sha256-xVrGO4Cultc3tPcnLFKLa98btLh7EAl3tLM1MTvwmn8=";
sha256 = "sha256-QKVtVXIVxYUqpnNCJAfRow3RG4j2jkQSFOwTeDgwO7s=";
};
in
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
+16
View File
@@ -4,5 +4,21 @@
networkmanager = {
enable = true;
};
};
services.avahi = {
enable = true;
nssmdns = true;
openFirewall = true;
};
# environment.etc.nsswitch.text = {
# hosts = [
# "files"
# "mdns4_minimal"
# "[NOTFOUND=return]"
# "dns"
# ];
# };
}
+1
View File
@@ -32,4 +32,5 @@
};
services.dbus.packages = with pkgs; [ gcr ];
services.geoclue2.enable = true;
}
+2 -1
View File
@@ -41,6 +41,7 @@
"input"
"wheel"
"docker"
"dialout"
];
shell = pkgs.zsh;
initialHashedPassword = "$y$j9T$uRTzF/sBdrqVGZTRhPuR00$wgLgEGlq.lEmlCPiy69jkbtfC9HKpyaVPDHDdBGtE5D";
@@ -48,7 +49,7 @@
let
authorizedKeys = pkgs.fetchurl {
url = "https://github.com/naps62.keys";
sha256 = "sha256-xVrGO4Cultc3tPcnLFKLa98btLh7EAl3tLM1MTvwmn8=";
sha256 = "sha256-O5JbzK5ulPob0HIrO8DT1MxfkC9bnfBw/0GR8Xu1tjw=";
};
in
pkgs.lib.splitString "\n" (builtins.readFile authorizedKeys);
+5 -2
View File
@@ -20,6 +20,7 @@
"ahci"
"nvme"
"thunderbolt"
"virtio-pci"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
@@ -31,8 +32,10 @@
};
boot.initrd.luks.devices = {
"luks-51347cdc-de81-4132-b21c-f1d089e387eb".device = "/dev/disk/by-uuid/51347cdc-de81-4132-b21c-f1d089e387eb";
"luks-9ffb64c6-54c2-46f2-9df5-e42c33a52d1a".device = "/dev/disk/by-uuid/9ffb64c6-54c2-46f2-9df5-e42c33a52d1a";
"luks-51347cdc-de81-4132-b21c-f1d089e387eb".device =
"/dev/disk/by-uuid/51347cdc-de81-4132-b21c-f1d089e387eb";
"luks-9ffb64c6-54c2-46f2-9df5-e42c33a52d1a".device =
"/dev/disk/by-uuid/9ffb64c6-54c2-46f2-9df5-e42c33a52d1a";
};
fileSystems."/boot" = {