mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
added workstation config
This commit is contained in:
parent
b52b99f405
commit
7fa38d9777
5 changed files with 88 additions and 9 deletions
24
flake.nix
24
flake.nix
|
@ -64,7 +64,7 @@
|
|||
...
|
||||
}@inputs:
|
||||
let
|
||||
username = "harry123";
|
||||
username = "misschloe777";
|
||||
secrets = builtins.toString inputs.nix-secrets;
|
||||
|
||||
specialArgs = {
|
||||
|
@ -116,6 +116,28 @@
|
|||
];
|
||||
};
|
||||
|
||||
workstation = nixpkgsUnstable.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./hosts/workstation/configuration.nix
|
||||
nix-flatpak.nixosModules.nix-flatpak
|
||||
catppuccin.nixosModules.catppuccin
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.users.${username} = {
|
||||
imports = [
|
||||
./home-manager/home.nix
|
||||
catppuccin.homeModules.catppuccin
|
||||
];
|
||||
};
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
dionysos = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue