mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
host<name>/default.nix -> host/<name>/main.nix
add _file in all modules
This commit is contained in:
parent
bcea731103
commit
14726d5c6d
33 changed files with 36 additions and 0 deletions
|
|
@ -34,5 +34,6 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
_file = ./disko.nix;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ _: {
|
|||
hostName = "game-laptop";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
#user managment
|
||||
sops.secrets.root.neededForUsers = true;
|
||||
users = {
|
||||
|
|
@ -86,4 +87,5 @@ _: {
|
|||
];
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
_file = ./main.nix;
|
||||
}
|
||||
|
|
@ -23,5 +23,6 @@ _: {config, ...}: {
|
|||
Option "OffTime" "0"
|
||||
Option "BlankTime" "0"
|
||||
'';
|
||||
_file = ./prime.nix;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -97,4 +97,5 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./minecraft.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -152,4 +152,5 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./website.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -153,4 +153,5 @@ in {
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./disko.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -141,4 +141,5 @@
|
|||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
_file = ./main.nix;
|
||||
}
|
||||
|
|
@ -18,4 +18,5 @@
|
|||
};
|
||||
};
|
||||
sops.secrets.discordenv = {};
|
||||
_file = ./sops.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,4 +32,5 @@ in {
|
|||
misc = "282a36";
|
||||
};
|
||||
};
|
||||
_file = ./spicetify.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -161,4 +161,5 @@ in {
|
|||
"L+ /var/lib/libvirt/hooks/qemu - - - - ${qemuHook}"
|
||||
"L+ /var/lib/libvirt/qemu/Windows.xml - - - - ${./Windows.xml}"
|
||||
];
|
||||
_file = ./vfio.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -74,4 +74,5 @@ _: {
|
|||
autoScrub.enable = true;
|
||||
trim.enable = true;
|
||||
};
|
||||
_file = ./zfs.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -35,4 +35,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
_file = ./disko.nix;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
_: {
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
|
|
@ -58,6 +59,7 @@ _: {
|
|||
};
|
||||
};
|
||||
};
|
||||
services.openssh.settings.PermitRootLogin = lib.mkForce "prohibit-password";
|
||||
boot = {
|
||||
initrd.availableKernelModules = ["xhci-pci" "ehci-pci" "ahci" "usbhid" "sd_mod" "sr_mod" "rtsx_usb_sdmmc"];
|
||||
kernelModules = ["kvm-intel"];
|
||||
|
|
@ -82,4 +84,5 @@ _: {
|
|||
size = 8 * 1024;
|
||||
}
|
||||
];
|
||||
_file = ./main.nix;
|
||||
}
|
||||
|
|
@ -17,4 +17,5 @@ _: {pkgs, ...}: {
|
|||
drivers = [pkgs.hplipWithPlugin];
|
||||
};
|
||||
};
|
||||
_file = ./printing.nix;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue