mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
123
This commit is contained in:
+6
-3
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user