adding server config to repo. setting up laptop in repo. other changes.
This commit is contained in:
22
flake.nix
22
flake.nix
@@ -11,14 +11,28 @@
|
||||
url = "github:nix-community/nixvim";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
sops-nix.url = "github:Mic92/sops-nix";
|
||||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, nixvim }@inputs: {
|
||||
outputs = { self, nixpkgs, home-manager, nixvim, sops-nix }@inputs: {
|
||||
nixosConfigurations = {
|
||||
lily-desktop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./hosts/desktop/configuration.nix
|
||||
modules = [ ./hosts/desktop/configuration.nix ];
|
||||
specialArgs = { inherit inputs; };
|
||||
};
|
||||
|
||||
laptop = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [ ./hosts/laptop/configuration.nix ];
|
||||
specialArgs = { inherit inputs; };
|
||||
};
|
||||
lily-server = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
sops-nix.nixosModules.sops
|
||||
./hosts/server/configuration.nix
|
||||
];
|
||||
specialArgs = { inherit inputs; };
|
||||
};
|
||||
@@ -28,7 +42,7 @@
|
||||
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
||||
modules = [
|
||||
./users/lily/home.nix
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
];
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user