mirror of
https://github.com/MagicBOTAlex/nixos-server.git
synced 2026-02-04 05:39:18 +01:00
checkpoint
This commit is contained in:
parent
44957eb1a4
commit
4e2d73d546
6 changed files with 88 additions and 19 deletions
30
flake.nix
30
flake.nix
|
|
@ -14,24 +14,22 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
outputs =
|
||||
{ self, nixpkgs, ... }@inputs:
|
||||
{
|
||||
# configuration name matches hostname, so this system is chosen by default
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
# pass along all the inputs and stuff to the system function
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
# import configuration
|
||||
./configuration.nix
|
||||
outputs = { self, nixpkgs, ... }@inputs: {
|
||||
# configuration name matches hostname, so this system is chosen by default
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
# pass along all the inputs and stuff to the system function
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
# import configuration
|
||||
./configuration.nix
|
||||
|
||||
# home manager part 2
|
||||
inputs.home-manager.nixosModules.default
|
||||
# home manager part 2
|
||||
inputs.home-manager.nixosModules.default
|
||||
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
inputs.nix-index-database.nixosModules.nix-index
|
||||
|
||||
{ programs.nix-index-database.comma.enable = true; }
|
||||
];
|
||||
};
|
||||
{ programs.nix-index-database.comma.enable = true; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue