{ config, pkgs, lib, ... }: { imports = let module = x: ./modules/${x}.nix; secret = x: ../../secrets/${x}.nix; in builtins.map module [ # TODO install office software "bash" "browser" "gdb" "git" "gpg" "mappings" "neovim" "pass" "picker" "ripgrep" "ssh" "terminal" ] ++ builtins.map secret [ "git" "ssh" "work/conan" "work/git" "work/ssh" "work/win" ]; # Home Manager needs a bit of information about you and the paths it should # manage. home.username = "figne"; home.homeDirectory = "/home/figne"; # Let Home Manager install and manage itself. programs.home-manager.enable = true; # Activate SSH keys dyamon.ssh.keys = { personal = true; work = true; }; # Enable password store (KeepassXC) dyamon.pass = { enable = true; backend = "keepass"; store = lib.mkDefault "${config.xdg.dataHome}/password-store.xkbx"; }; # Disable DoH in the browser dyamon.browser.doh = null; # Curses interface not working for whatever reason services.gpg-agent.pinentryPackage = pkgs.pinentry-tty; # Can't enable Nix services from user-level systemd programs.bash.profileExtra = '' (sleep 5; systemctl --user start xremap.service) & ''; home.sessionVariables.TERMINAL = "${pkgs.nixgl.nixGLIntel}/bin/nixGLIntel ${pkgs.kitty}/bin/kitty"; home.packages = with pkgs; [ pkgs.nixgl.nixGLIntel # Wrap OpenGL applications git-crypt vlc # Fonts (see modules/fonts.nix) dejavu_fonts fantasque-sans-mono (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) noto-fonts-emoji symbola ]; # This value determines the Home Manager release that your configuration is # compatible with. This helps avoid breakage when a new Home Manager release # introduces backwards incompatible changes. # # You should not change this value, even if you update Home Manager. If you do # want to update the value, then make sure to first check the Home Manager # release notes. home.stateVersion = "23.11"; # Please read the comment before changing. }