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; [ imports = with inputs; [
./hardware/mini-pc.nix ./hardware/mini-pc.nix
@@ -94,7 +97,7 @@ let
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];
networking = { networking = {
hostName = "${config.xlib.devices.laptop.hostname}"; hostName = "${config.xlib.device.hostname}";
networkmanager.enable = true; networkmanager.enable = true;
firewall.enable = false; firewall.enable = false;
}; };
@@ -127,7 +130,7 @@ let
configDir = "${config.xlib.dirs.user-storage}/Syncthing/${config.system.name}"; # ${config.xlib.devices.laptop.hostname} configDir = "${config.xlib.dirs.user-storage}/Syncthing/${config.system.name}"; # ${config.xlib.devices.laptop.hostname}
dataDir = "${config.xlib.dirs.user-home}"; dataDir = "${config.xlib.dirs.user-home}";
group = "users"; group = "users";
user = "${config.xlib.devices.admin}"; user = "${config.xlib.device.username}";
}; };
pipewire = { pipewire = {
enable = lib.mkDefault true; enable = lib.mkDefault true;
+2 -2
View File
@@ -32,10 +32,10 @@
systemd-boot.enable = lib.mkForce false; systemd-boot.enable = lib.mkForce false;
grub = { grub = {
enable = lib.mkForce true; enable = lib.mkForce true;
useOSProber = true; device = "nodev";
efiInstallAsRemovable = true; efiInstallAsRemovable = true;
efiSupport = true; efiSupport = true;
device = "nodev"; useOSProber = true;
}; };
grub2-theme = { grub2-theme = {
enable = true; enable = true;