tidying and such
This commit is contained in:
parent
45b2ab13bc
commit
84f4170e02
10 changed files with 115 additions and 124 deletions
|
|
@ -1,25 +1,22 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
{
|
||||
{ self, inputs, config, ... }: {
|
||||
|
||||
# module paths to import
|
||||
imports = [
|
||||
./hardware
|
||||
./network
|
||||
./radeon
|
||||
];
|
||||
flake.nixosConfigurations.hades = inputs.nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
self.nixosModules.hadesHardware
|
||||
self.nixosModules.hadesConfig
|
||||
self.nixosModules.coreConfig
|
||||
|
||||
# select kernel to use
|
||||
boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
|
||||
|
||||
# set hostname
|
||||
networking.hostName = "hades";
|
||||
|
||||
# for ssd
|
||||
services.fstrim.enable = true;
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.backupFileExtension = "bak";
|
||||
home-manager.users.serenity = {
|
||||
imports = [
|
||||
config.flake.homeModules.base
|
||||
config.flake.homeModules.hadesHome
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue