-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathflake.nix
66 lines (53 loc) · 1.61 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
description = "Kraanzu's NixOS config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
snowfall-lib = {
url = "github:snowfallorg/lib";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-index-database.url = "github:nix-community/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
grub2-themes.url = "github:vinceliuice/grub2-themes/2024-08-19";
grub2-themes.inputs.nixpkgs.follows = "nixpkgs";
dooit.url = "github:dooit-org/dooit";
dooit-extras.url = "github:dooit-org/dooit-extras/nix-fix";
mysecrets = {
url = "git+ssh://[email protected]/kraanzu/personal.git?ref=main&shallow=1";
flake = false;
};
mywalls = {
url = "github:kraanzu/nord_walls";
flake = false;
};
};
outputs = inputs:
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
snowfall = {
namespace = "mynix";
meta = {
name = "mynix";
title = "Kraanzu's NixOS config";
};
};
channels-config = {
allowUnfree = true;
};
systems.modules.nixos = with inputs; [
nix-index-database.nixosModules.nix-index
grub2-themes.nixosModules.default
home-manager.nixosModules.home-manager
];
homes.users."kraanzu@nzxt".specialArgs = {
mysecrets = inputs.mysecrets;
mywalls = inputs.mywalls;
};
homes.modules = with inputs; [
dooit.homeManagerModules.default
];
};
}