diff options
author | Jasper Ras <jras@hostnet.nl> | 2025-02-09 00:04:30 +0100 |
---|---|---|
committer | Jasper Ras <jras@hostnet.nl> | 2025-02-09 00:04:30 +0100 |
commit | 9d887bf07ac1dec542028212909b9ac7e461d0db (patch) | |
tree | e545fc1d313c9f2e370fa83f5bdb9a1837527bfe /configuration/hyprland.nix | |
parent | 4564b73de139a54c98f5a46c817485374de46e7e (diff) |
core stuff, snorlax zfs
Diffstat (limited to 'configuration/hyprland.nix')
-rw-r--r-- | configuration/hyprland.nix | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/configuration/hyprland.nix b/configuration/hyprland.nix index bf06cc3..92d5ee2 100644 --- a/configuration/hyprland.nix +++ b/configuration/hyprland.nix @@ -1,5 +1,14 @@ { inputs, pkgs, ... }: { + # find a better home: + environment.systemPackages = with pkgs; [ + kitty + alacritty + firefox + whatsapp-for-linux + obsidian + ]; + nix.settings = { substituters = ["https://hyprland.cachix.org"]; trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; @@ -11,4 +20,44 @@ package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; }; + + # Some of these do not belong here + services = { + pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; + keyd = { + enable = true; + keyboards = { + default = { + ids = [ "*" ]; + settings.main.capslock = "overload(meta, esc)"; + }; + }; + }; + greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.hyprland}/bin/Hyprland"; + user = "jras"; + }; + }; + }; + gnome.gnome-keyring.enable = true; + }; + systemd.user.services.kanshi = { + description = "kanshi daemon"; + environment = { + WAYLAND_DISPLAY="wayland-1"; + DISPLAY=":0"; + }; + serviceConfig = { + Type = "simple"; + ExecStart = ''${pkgs.kanshi}/bin/kanshi -c kanshi_config_file''; + }; + }; } |