-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
40 lines (35 loc) · 1.17 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
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
hyprland.url =
"github:hyprwm/Hyprland?submodules=1&ref=v0.45.0&submodules=1";
swww.url = "github:LGFae/swww";
#hy3 = {
# url = "github:outfoxxed/hy3?ref=hl0.41.2";
# inputs.hyprland.follows = "hyprland";
#};
};
outputs = { self, nixpkgs, home-manager, ... }@inputs:
let
system = "x86_64-linux";
inherit (self) outputs;
in {
overlays = import ./overlays { inherit inputs; };
nixosConfigurations.home = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs outputs; };
modules = [
./hosts/home/configuration.nix
home-manager.nixosModules.home-manager
# hyprland.homeManagerModules.default
{
home-manager.useUserPackages = true;
home-manager.backupFileExtension = "backup";
home-manager.users.clement = import ./hosts/home/clement.nix;
home-manager.extraSpecialArgs = { inherit inputs outputs; };
#wayland.windowManager.hyprland.plugins = [ hy3.packages.x86_64-linux.hy3 ];
}
];
};
};
}