feat(ymir): add new host, will use in reinstall.
This commit is contained in:
parent
f09c91ad8f
commit
41747d82cc
4 changed files with 241 additions and 0 deletions
31
flake.nix
31
flake.nix
|
@ -255,6 +255,37 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
|
||||
ymir = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
# Get the system config
|
||||
./hosts/ymir/configuration.nix
|
||||
# Enable stylix
|
||||
inputs.stylix.nixosModules.stylix
|
||||
# Load updated auto-cpufreq
|
||||
auto-cpufreq.nixosModules.default
|
||||
# Load my modules
|
||||
./modules/linux/nixos
|
||||
# Still no specific modules here
|
||||
# ./modules/cross-platform/nixos
|
||||
agenix.nixosModules.default
|
||||
# Setup home manager for my user
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.extraSpecialArgs = {inherit inputs;};
|
||||
home-manager.backupFileExtension = "backup";
|
||||
home-manager.users.crony = {
|
||||
imports = [
|
||||
./hosts/ymir/home.nix
|
||||
./modules/linux/home-manager
|
||||
./modules/cross-platform/home-manager
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
devShells = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue