tidying and such

This commit is contained in:
serenity-F 2026-08-30 23:41:31 +10:00
parent 45b2ab13bc
commit 84f4170e02
No known key found for this signature in database
10 changed files with 115 additions and 124 deletions

View file

@ -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
];
};
}
];
};
}