diff --git a/configuration/modules/desktop.nix b/configuration/modules/desktop.nix index 61fbf3c..a979daa 100644 --- a/configuration/modules/desktop.nix +++ b/configuration/modules/desktop.nix @@ -21,13 +21,18 @@ portal.enable = true; }; - programs.hyprland = { - enable = true; - withUWSM = true; - package = inputs.hyprland.packages."x86_64-linux".hyprland; - portalPackage = inputs.hyprland.packages."x86_64-linux".xdg-desktop-portal-hyprland; + programs = { + hyprland = { + enable = true; + withUWSM = true; + package = inputs.hyprland.packages."x86_64-linux".hyprland; + portalPackage = inputs.hyprland.packages."x86_64-linux".xdg-desktop-portal-hyprland; + }; + hyprlock.enable = true; }; + security.pam.services.hyprlock = {}; + services = { xserver = { enable = true; diff --git a/home/modules/shells.nix b/home/modules/shells.nix index 9e7b36f..5ecf8e4 100644 --- a/home/modules/shells.nix +++ b/home/modules/shells.nix @@ -41,6 +41,10 @@ fastfetch } + def flake [command?: string] { + + } + def edit [user_file?: path] { let file = if ($user_file | is-empty) { pwd