feat: central nixpkgs and nix

This commit is contained in:
Leon Schwarzäugl 2024-12-30 02:36:02 +01:00
parent b4b0b44729
commit db61149b70
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
12 changed files with 187 additions and 98 deletions

View file

@ -1,4 +1,4 @@
{ self, inputs, outputs, config, ... }:
{ self, inputs, outputs, ... }:
let
profilesPath = "${self}/profiles";
in
@ -21,14 +21,6 @@ in
] ++ (builtins.attrValues outputs.nixosModules);
nixpkgs = {
overlays = [ outputs.overlays.default ];
config = {
allowUnfree = true;
};
};
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
@ -48,6 +40,7 @@ in
hasFingerprint = false;
isImpermanence = false;
isBtrfs = false;
isLinux = true;
flakePath = "/home/swarsel/.dotfiles";
server = {
enable = true;