Move hyprland files to host specific directories

This commit is contained in:
willifan 2024-05-21 17:54:57 +02:00
parent 246b2a75ea
commit e3176e1858
14 changed files with 30 additions and 17 deletions

View file

@ -29,7 +29,7 @@
}; };
outputs = { self, nixpkgs, home-manager, disko, ... }@inputs: outputs = { self, nixpkgs, home-manager, disko, ... }@inputs:
let let
inherit (self) outputs; inherit (self) outputs;
forAllSystems = nixpkgs.lib.genAttrs [ forAllSystems = nixpkgs.lib.genAttrs [
"x86_64-linux" "x86_64-linux"

View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
imports = [
./hypridle.nix
./hyprlock.nix
./kanshi.nix
];
}

View file

@ -0,0 +1,16 @@
{ pkgs, ... }:
{
programs.hyprland.enable = true;
imports = [
./hyprland.nix
./hyprpaper.nix
./mako.nix
./pipewire.nix
./polkit.nix
./utils.nix
./wofi.nix
];
}

View file

@ -1,19 +1,7 @@
{ pkgs, ... }: { pkgs, configVars, ... }:
{ {
programs.hyprland.enable = true;
imports = [ imports = [
./hypridle.nix ./common
./hyprland.nix ./${configVars.hostname}
./hyprlock.nix
./hyprpaper.nix
./kanshi.nix
./mako.nix
./pipewire.nix
./polkit.nix
./utils.nix
./wofi.nix
]; ];
}
}