mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2025-12-14 15:48:21 +01:00
Added vps config, rearranged current one
This commit is contained in:
parent
8da5147ff4
commit
8b5554e732
8 changed files with 133 additions and 26 deletions
18
flake.nix
18
flake.nix
|
|
@ -77,7 +77,7 @@
|
|||
nixosConfigurations.lgm-nixos = nixpkgs.lib.nixosSystem rec {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
secrets = import ./secrets {};
|
||||
# secrets = import ./secrets {};
|
||||
};
|
||||
modules = [
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
|
||||
|
|
@ -95,13 +95,25 @@
|
|||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
home-manager.users.lgm = import ./home.nix;
|
||||
home-manager.users.lgm = import ./hosts/laptop/home.nix;
|
||||
|
||||
home-manager.extraSpecialArgs = with specialArgs; {
|
||||
inherit secrets;
|
||||
# inherit secrets;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
nixosConfigurations.lgm-vps1 = nixpkgs.lib.nixosSystem rec {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
# secrets = import ./secrets {};
|
||||
};
|
||||
modules = [
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = my-overlays; })
|
||||
inputs.nh.nixosModules.default
|
||||
./hosts/vps1/configuration.nix
|
||||
./hosts/vps1/hardware-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue