This commit is contained in:
mtgmonkey
2025-12-28 20:12:01 +01:00
commit 160bdcfb42
4 changed files with 215 additions and 0 deletions

29
flake.nix Normal file
View File

@@ -0,0 +1,29 @@
{
inputs = {
impermanence.url = "github:nix-community/impermanence";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
noshell = {
url = "github:viperML/noshell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
impermanence,
nixpkgs,
noshell,
self,
...
}: let
system = "x86_64-linux";
in {
nixosConfigurations."nixos" = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
impermanence.nixosModules.impermanence
noshell.nixosModules.default
./configuration.nix
./hardware-configuration.nix
];
};
};
}