This commit is contained in:
2025-08-04 22:44:17 +03:00
parent 22b0de9ff1
commit 09910e2fba
2 changed files with 8 additions and 5 deletions
+6 -3
View File
@@ -11,7 +11,10 @@ let
...
}:
{
device.type = "primary";
device = {
type = "primary";
hostname = "atoridu";
};
imports = with inputs; [
./hardware/mini-pc.nix
@@ -94,7 +97,7 @@ let
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking = {
hostName = "${config.xlib.devices.laptop.hostname}";
hostName = "${config.xlib.device.hostname}";
networkmanager.enable = true;
firewall.enable = false;
};
@@ -127,7 +130,7 @@ let
configDir = "${config.xlib.dirs.user-storage}/Syncthing/${config.system.name}"; # ${config.xlib.devices.laptop.hostname}
dataDir = "${config.xlib.dirs.user-home}";
group = "users";
user = "${config.xlib.devices.admin}";
user = "${config.xlib.device.username}";
};
pipewire = {
enable = lib.mkDefault true;
+2 -2
View File
@@ -32,10 +32,10 @@
systemd-boot.enable = lib.mkForce false;
grub = {
enable = lib.mkForce true;
useOSProber = true;
device = "nodev";
efiInstallAsRemovable = true;
efiSupport = true;
device = "nodev";
useOSProber = true;
};
grub2-theme = {
enable = true;