-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
executable file
·38 lines (36 loc) · 1.08 KB
/
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
36
37
38
{
description = "nklsfrt's personal flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-index-database.url = "github:Mic92/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
impermanence.url = "github:nix-community/impermanence";
sops-nix.url = "github:Mic92/sops-nix";
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
website = {
url = "git+https://codeberg.org/nklsfrt/nklsfrt.de?ref=main";
flake = false;
};
};
outputs =
inputs:
let
lib = inputs.nixpkgs.lib;
abilities = import ./abilities { inherit lib; };
profiles = import ./profiles { inherit lib; };
users = import ./users { inherit lib; };
in
{
nixosConfigurations = import ./hosts {
inherit
inputs
abilities
profiles
users
;
};
formatter.x86_64-linux = inputs.nixpkgs.legacyPackages.x86_64-linux.nixfmt-rfc-style;
};
}