feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
2 changed files with 7 additions and 8 deletions
Showing only changes of commit 1525ee9499 - Show all commits

View file

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

View file

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