switched to unstable, amneziawg configured
This commit is contained in:
parent
3c8807e38f
commit
26d383ea96
10 changed files with 110 additions and 75 deletions
37
flake.nix
Normal file
37
flake.nix
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs = inputs@{ self, nixpkgs, home-manager, ... }: {
|
||||
nixosConfigurations = {
|
||||
nixos-server = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./server/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.root = ./home/server/root.nix;
|
||||
home-manager.users.bogale = ./home/server/bogale.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
nixos-desktop = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./desktop/configuration.nix
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
home-manager.users.root = ./home/desktop/root.nix;
|
||||
home-manager.users.bogale = ./home/desktop/bogale.nix;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue