.github
.vscode
docs
hydra
keys
lib
modules
pkgs
systems
artemision
ao3_skins
hypr
kernel-patches
audio.nix
configuration.nix
default.nix
desktop.nix
fingerprint.nix
fonts.nix
graphics.nix
hardware.nix
libvirt.nix
polkit.nix
private-wifi.nix
programs.nix
secrets.yaml
steam.nix
stylix.nix
wifi.nix
zerotier.nix
palatine-hill
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
statix.toml
treefmt.toml
58 lines
1.2 KiB
Nix
58 lines
1.2 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
# installs hyprland, and its dependencies
|
|
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
xwayland.enable = true;
|
|
withUWSM = true;
|
|
};
|
|
hyprlock.enable = true;
|
|
gnupg.agent = {
|
|
enable = true;
|
|
#pinentryPackage = pkgs.pinentry-rofi;
|
|
pinentryPackage = pkgs.pinentry-gnome3;
|
|
#settings = {
|
|
# keyserver-options = "auto-key-retrieve";
|
|
# auto-key-locate = "hkps://keys.openpgp.org";
|
|
# keyserver = "hkps://keys.openpgp.org";
|
|
#keyserver = "hkp://pgp.mit.edu";
|
|
# "na.pool.sks-keyservers.net"
|
|
# "ipv4.pool.sks-keyservers.net"
|
|
# "p80.pool.sks-keyservers.net"
|
|
# ];
|
|
#};
|
|
};
|
|
|
|
ydotool.enable = true;
|
|
};
|
|
# Optional, hint electron apps to use wayland:
|
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
|
|
services = {
|
|
displayManager.gdm = {
|
|
enable = true;
|
|
wayland = true;
|
|
};
|
|
|
|
dbus = {
|
|
enable = true;
|
|
implementation = "broker";
|
|
};
|
|
};
|
|
|
|
powerManagement = {
|
|
enable = true;
|
|
resumeCommands = ''
|
|
${pkgs.hyprlock}/bin/hyprlock -c /home/alice/.config/hypr/hyprlock.conf
|
|
'';
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
libsForQt5.qt5.qtwayland
|
|
qt6.qtwayland
|
|
];
|
|
}
|