trying flakes
This commit is contained in:
1 parent
cd243dc44a
commit
e161742bb9
2 files changed
+6
-45
No files matched your search
@@ -1,5 +1,5 @@
|
||||
{
|
||||
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
||||
inputs.nixpkgs.url = github:NixOS/nixpkgs/nixos-23.11;
|
||||
inputs.home-manager.url = github:nix-community/home-manager;
|
||||
inputs.fh.url = "https://flakehub.com/f/DeterminateSystems/fh/*.tar.gz";
|
||||
inputs.nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||
@@ -20,7 +20,7 @@
|
||||
};
|
||||
dataDir = "/mnt/Data";
|
||||
systemStateVersion = "23.11";
|
||||
homeMangerVersion = "24.04";
|
||||
homeMangerVersion = "23.11";
|
||||
hostName = "fwbook";
|
||||
in
|
||||
{
|
||||
@@ -37,45 +37,6 @@
|
||||
hostName = hostName;
|
||||
firewall = { enable = true; };
|
||||
})
|
||||
(import ./modules/os/hardware.nix {
|
||||
enableFingerPrint = true;
|
||||
})
|
||||
(import ./modules/os/ssh.nix {
|
||||
user = user;
|
||||
enableSSHServer = false;
|
||||
})
|
||||
./modules/os/services.nix
|
||||
./modules/docker/core.nix
|
||||
(import ./modules/user.nix {
|
||||
user = user;
|
||||
})
|
||||
(import ./modules/rootUser.nix {
|
||||
hostName = hostName;
|
||||
})
|
||||
home-manager.nixosModules.default
|
||||
fh.packages.x86_64-linux.default
|
||||
(import ./modules/optional/home-manager-config.nix {
|
||||
homeMangerVersion = homeMangerVersion;
|
||||
hostName = hostName;
|
||||
user = user;
|
||||
})
|
||||
./modules/optional/amd-packages.nix
|
||||
./modules/optional/gnome.nix
|
||||
(import ./modules/optional/hyprland.nix {
|
||||
user = user;
|
||||
})
|
||||
{
|
||||
hardware.framework.amd-7040.preventWakeOnAC = true;
|
||||
services.fwupd.enable = true;
|
||||
fileSystems."${dataDir}" = {
|
||||
device = "/dev/sda1";
|
||||
fsType = "ext4";
|
||||
options = [
|
||||
"users"
|
||||
"nofail"
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user