-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathflake.nix
More file actions
79 lines (70 loc) · 2.13 KB
/
flake.nix
File metadata and controls
79 lines (70 loc) · 2.13 KB
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
67
68
69
70
71
72
73
74
75
76
77
78
79
{
description = "Thib's NixOS config";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-25.11";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixos-hardware.url = "github:NixOS/nixos-hardware";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
stylix = {
url = "github:nix-community/stylix";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
# hyprland.url = "github:hyprwm/Hyprland/e6ca1413648407c9a7b14f33673f67c31b296410";
# hyprland-plugins = {
# url = "github:hyprwm/hyprland-plugins";
# inputs.hyprland.follows = "hyprland";
# };
# hyprfocus.url = "github:ornicar/hyprfocus";
# locked commit to avoid recompiling every day
# ashell.url = "github:MalpenZibo/ashell/845ca24797d5acc313ec38aafe4ec2efb2c67458";
bbpPairings.url = "github:ornicar/bbpPairings/2b01f2c1e2b839d2";
picfit.url = "github:ornicar/picfit/e64ee4fb03f65742ed2ff";
# lan-mouse.url = "github:feschber/lan-mouse";
};
outputs =
{
self,
nixpkgs,
nixos-hardware,
home-manager,
...
}@inputs:
let
inherit (self) outputs;
inherit (nixpkgs.lib) nixosSystem;
specialArgs = { inherit inputs outputs; };
in
{
overlays = import ./nix/overlays { inherit inputs; };
nixosConfigurations = {
fw = nixosSystem {
specialArgs = specialArgs;
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.thib = import ./nix/home/fw;
home-manager.extraSpecialArgs = specialArgs;
}
./nix/system/fw
];
};
crom = nixosSystem {
specialArgs = specialArgs;
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.thib = import ./nix/home/crom;
home-manager.extraSpecialArgs = specialArgs;
}
./nix/system/crom
];
};
};
};
}