summaryrefslogtreecommitdiff
path: root/flake.nix
blob: e3e665efcefd68a93e7cde67a89b5fc1150cf7d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
      ];
    };
  };
}