-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
35 lines (33 loc) · 1017 Bytes
/
flake.nix
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
30
31
32
33
34
35
{
description = "System config for @ptkato";
inputs = {
nixos-u.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-u.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
nixpkgs-p.url = "github:NixOS/nixpkgs/64d803029fed15d042f48922c10b488dbedf9fc8";
};
outputs = { self, nixos-u, nixpkgs-u, nixpkgs-p }: let
system = "x86_64-linux";
nixos-unstable = import nixos-u {
config.allowUnfree = true;
localSystem = { inherit system; };
};
nixpkgs-unstable = import nixpkgs-u {
config.allowUnfree = true;
localSystem = { inherit system; };
};
nixpkgs-pinned = import nixpkgs-p {
config.allowUnfree = true;
localSystem = { inherit system; };
};
in {
nixosConfigurations.ptkato-desktop = nixos-u.lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./configuration.nix ];
specialArgs = {
inherit nixos-unstable;
inherit nixpkgs-unstable;
inherit nixpkgs-pinned;
};
};
};
}