Skip to content

Commit

Permalink
hyprland: re-org ./home
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Nov 27, 2024
1 parent 7687f3e commit 087e7a9
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 20 deletions.
22 changes: 2 additions & 20 deletions modules/nixos/linux/gui/hyprland/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ flake, pkgs, lib, ... }:
{ flake, pkgs, ... }:

let
inherit (flake) inputs;
Expand All @@ -14,25 +14,7 @@ in

security.pam.services.hyprlock = { };

home-manager.sharedModules = [{
imports = [
./fix-cursor.nix
./waybar.nix
./settings.nix
];
wayland.windowManager.hyprland = {
enable = true;
};
services.dunst.enable = true;
home.sessionVariables.NIXOS_OZONE_WL = "1";

programs.hyprlock.enable = true;
programs.rofi = {
enable = true;
terminal = lib.getExe pkgs.rio;
plugins = [ pkgs.rofi-emoji ];
};
}];
home-manager.sharedModules = [ ./home ];

environment.systemPackages = with pkgs; [
kitty
Expand Down
20 changes: 20 additions & 0 deletions modules/nixos/linux/gui/hyprland/home/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{ pkgs, lib, ... }:
{
imports = [
./fix-cursor.nix
./waybar.nix
./settings.nix
];
wayland.windowManager.hyprland = {
enable = true;
};
services.dunst.enable = true;
home.sessionVariables.NIXOS_OZONE_WL = "1";

programs.hyprlock.enable = true;
programs.rofi = {
enable = true;
terminal = lib.getExe pkgs.rio;
plugins = [ pkgs.rofi-emoji ];
};
}
File renamed without changes.

0 comments on commit 087e7a9

Please sign in to comment.