{ config, pkgs, ... }: { imports = [ # Global Config, always to be included ./../../global-home.nix ]; # KDE Connect services.kdeconnect.enable = true; services.kdeconnect.indicator = true; # Home Manager is pretty good at managing dotfiles. The primary way to manage # plain files is through 'home.file'. home.file = { # # Building this configuration will create a copy of 'dotfiles/screenrc' in # # the Nix store. Activating the configuration will then make '~/.screenrc' a # # symlink to the Nix store copy. # ".screenrc".source = dotfiles/screenrc; # # You can also set the file content immediately. # ".gradle/gradle.properties".text = '' # org.gradle.console=verbose # org.gradle.daemon.idletimeout=3600000 # ''; # ".local/share/applications/ncmpcpp.desktop".text = '' # [Desktop Entry] # Name=NCMPCPP # Comment=Run ncurses music player CPP # Categories=Other; # Icon=konsole # Type=Application # Exec=konsole -e ncmpcpp # Terminal=false # ''; "Pictures/Wallpapers/gruvbox_light_linux.png".source = ./resources/home-manager/Pictures/Wallpapers/gruvbox_light_linux.png; }; # Config Files (typically $HOME/.config) xdg.configFile = { "sway/config".source = ./resources/home-manager/.config/sway/config; "mako/config".source = ./resources/home-manager/.config/mako/config; "foot/foot.ini".source = ./resources/home-manager/.config/foot/foot.ini; "networkmanager-dmenu/config.ini".source = ./resources/home-manager/.config/networkmanager-dmenu/config.ini; }; services.udiskie.enable = true; services.udiskie.tray = "never"; home.sessionVariables = { TERM = "foot"; QT_QPA_PLATFORM = "wayland-egl"; QT_QPA_PLATFORMTHEME = "qt6ct"; QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; SDL_VIDEODRIVER = "wayland"; _JAVA_AWT_WM_NONREPARENTING = "1"; SSH_ASKPASS = "lxqt-openssh-askpass"; }; programs.bash = { shellAliases = { sudo = "sudo "; doas = "doas "; edit = "$EDITOR"; nixos-rebuild-system-flake = "sudo nixos-rebuild switch --flake /etc/nixos#laptop"; }; # Start sway after login if on TTY1 (Default Linux TTY upon boot/login) profileExtra = '' if [[ $(tty) == "/dev/tty1" ]]; then sway fi ''; }; }