Compare commits

...

3 commits

Author SHA1 Message Date
GaspardCulis
3ca03b83ed fix(flake): Fixed disko input url 2024-09-20 14:16:28 +00:00
GaspardCulis
abcb3d53c2 fix(users): Fixed import paths 2024-09-20 14:02:12 +00:00
GaspardCulis
1525ee9499 refactor(flake): Pass inputs as extraSpecialArgs 2024-09-20 14:01:22 +00:00
5 changed files with 19 additions and 21 deletions

View file

@ -1,8 +1,8 @@
{
hy3,
inputs,
pkgs,
...
} : {
}: {
home.file = {
".config/hypr/hyprland.conf.d".source = ./hyprland.conf.d;
};
@ -10,11 +10,11 @@
home.packages = [
pkgs.egl-wayland # For NVIDIA compatibility
];
wayland.windowManager.hyprland = {
enable = true;
extraConfig = builtins.readFile ./hyprland.conf;
plugins = [ hy3.packages.${pkgs.system}.hy3 ];
plugins = [inputs.hy3.packages.${pkgs.system}.hy3];
};
# bar is required

View file

@ -44,16 +44,15 @@
]
},
"locked": {
"lastModified": 1690751248,
"narHash": "sha256-al5+aqPKL2VtCnuMccafyl4hQqZn+xIaG7vLuhGWfvE=",
"lastModified": 1726838624,
"narHash": "sha256-SU40aZ/UyK4bhuanaWvqlhIw2/kiDrGYcKxCkTn5FP8=",
"owner": "nix-community",
"repo": "disko",
"rev": "67c4508ce9a778f429a5af3571f49733fd3e8a05",
"rev": "0fe779905ffe730eace0bf7ecf56938c625012a5",
"type": "github"
},
"original": {
"owner": "nix-community",
"ref": "make-disk-image",
"repo": "disko",
"type": "github"
}

View file

@ -9,7 +9,7 @@
};
disko = {
url = "github:nix-community/disko/make-disk-image";
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
};
@ -28,9 +28,8 @@
nixpkgs,
disko,
home-manager,
hy3,
...
}: let
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
@ -48,7 +47,7 @@
"gaspard" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit hy3;};
extraSpecialArgs = {inherit inputs;};
modules = [
./users/gaspard.nix
];
@ -57,7 +56,7 @@
"culisg@im2ag" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit hy3;};
extraSpecialArgs = {inherit inputs;};
modules = [
./users/culisg.nix
];

View file

@ -7,9 +7,9 @@
programs.direnv.enable = true;
imports = [
../../shell
../../term
../../editor
../../de
../shell
../term
../editor
../de
];
}

View file

@ -7,9 +7,9 @@
programs.direnv.enable = true;
imports = [
../../shell
../../term
../../editor
../../de
../shell
../term
../editor
../de
];
}