{ config, pkgs, ... }: let secrets = import ../secrets.nix; in { imports = (import ./ui) ++ (import ./shell) ++ (import ./progs); # targets.genericLinux.enable = true; # Home Manager needs a bit of information about you and the # paths it should manage. home.username = secrets.user.name; home.homeDirectory = secrets.user.dir; home.keyboard = { model = "pc105"; layout = "us,ru"; variant = "dvorak,"; options = [ "grp:win_space_toggle" ]; }; home.packages = with pkgs; [ kotatogram-desktop docker-compose libreoffice asciinema # record the terminal neofetch # command-line system information alacritty # tools xh # friendly and fast tool for sending HTTP requests fd # a simple, fast and user-friendly alternative to find bat # a cat clone with syntax highlighting and git integration # haskell stylish-haskell # formatter # browser librewolf # a fork of firefox, focused on privacy, security and freedom # for work google-cloud-sdk kubectl postgresql_12 # 🤷 I need only psql ]; # user interface ui = { # windows manager xmonad.enable = true; # bar polybar.enable = true; # lock betterlockscreen.enable = true; }; # shell shell = { zsh.enable = true; prompt.starship.enable = true; }; # programs progs = { alacritty.enable = true; git = with secrets.git; { enable = true; gpgKey = gpgSigningKey; inherit userName userEmail; }; # password manager pass.enable = true; # email manager himalaya.enable = true; # finance manager hledger.enable = true; # file manager vifm.enable = true; # editor nvim = { enable = true; default = true; }; # tools exa.enable = true; zoxide.enable = true; }; accounts.email = { # TODO: add module for email account accounts = secrets.emailAccounts; }; home.file = { "scripts" = { source = ../scripts; recursive = true; }; "pictures/wallpapers" = { source = ../wallpapers; recursive = true; }; }; xdg = { enable = true; configFile = { "stylish-haskell/config.yaml".source = ../programs/stylish-haskell/config.yml; }; }; # 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 can update Home Manager without changing this value. See # the Home Manager release notes for a list of state version # changes in each release. home.stateVersion = "21.11"; # Let Home Manager install and manage itself. programs.home-manager.enable = true; }