-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
63 lines (52 loc) · 1.77 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
{
description = "Builditluc's NixOS Configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/5633bcff0c6162b9e4b5f1264264611e950c8ec7";
utils.url = "github:gytis-ivaskevicius/flake-utils-plus";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixvim.url = "github:nix-community/nixvim";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:NixOS/nixos-hardware";
};
outputs = inputs@{ self, utils, home-manager, nixos-hardware, ... }:
utils.lib.mkFlake {
inherit self inputs;
nixosModules = {
wm = {
gnome = import ./system/wm/gnome.nix;
xmonad = import ./system/wm/xmonad.nix;
hyprland = import ./system/wm/hyprland.nix;
};
yubikey = import ./system/yubikey.nix;
steam = import ./system/steam.nix;
system = import ./system/configuration.nix;
power-management = import ./system/power-management.nix;
networking = import ./system/networking.nix;
ly = import ./system/ly.nix;
};
channelsConfig = {
allowUnfree = true;
};
hosts.ash = {
system = "x86_64-linux";
modules = with self.nixosModules; [
yubikey
steam
system
power-management
networking
ly
wm.hyprland
nixos-hardware.nixosModules.framework-13th-gen-intel
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.builditluc = import ./hm/home.nix;
home-manager.extraSpecialArgs = { inherit inputs; } ;
}
];
};
};
}