Move NixOS infrastructure into subdirectory
This commit is contained in:
parent
2d6db9f952
commit
4e39b5395b
10 changed files with 0 additions and 0 deletions
35
nixos/flake.nix
Normal file
35
nixos/flake.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs-26-05.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
impermanence.url = "github:nix-community/impermanence";
|
||||
nix-index-database = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs-26-05";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs-26-05,
|
||||
nixpkgs-unstable,
|
||||
impermanence,
|
||||
nix-index-database,
|
||||
...
|
||||
}: {
|
||||
nixosConfigurations.ruysch = nixpkgs-26-05.lib.nixosSystem {
|
||||
specialArgs.pkgs-unstable = import nixpkgs-unstable {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
modules = [
|
||||
impermanence.nixosModules.impermanence
|
||||
nix-index-database.nixosModules.default
|
||||
./common.nix
|
||||
./graphical.nix
|
||||
./ruysch.nix
|
||||
./ruysch-graphical.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Reference in a new issue