{ config, pkgs, lib, ... }: let home-manager = (import ../nix/sources.nix).home-manager; unstable = import { }; in { imports = [ "${home-manager}/nixos" ]; home-manager.users.fleaz = { pkgs, ... }: { imports = [ modules/neovim.nix modules/vscode.nix modules/direnv.nix modules/sway.nix modules/waybar.nix modules/git.nix modules/gpg.nix modules/udiskie.nix modules/discord.nix modules/devenv.nix modules/overlay.nix modules/zsh.nix modules/foot.nix modules/manual.nix modules/tig.nix ../secrets/ssh-config.nix ] ++ lib.optionals (config.networking.hostName == "jimbo") [ modules/kanshi.nix ] ++ lib.optionals (config.networking.hostName == "milhouse") [ modules/kanshi.nix ]; home.packages = with pkgs; [ httpie wdisplays firefox evince chromium via nextcloud-client deluge gnupg gpicview hicolor-icon-theme cinnamon.nemo element-desktop signal-desktop nix-output-monitor samba dnsutils mtr tig ncdu fd silver-searcher thunderbird mosh mpv go python3 pavucontrol playerctl jq psmisc zip nmap vnstat whois sipcalc vnstat strace usbutils pciutils swaylock swayidle brightnessctl wl-clipboard mako sway-contrib.grimshot albert foot wofi unzip whois sublime-music fzf ncmpcpp acpi unstable.prusa-slicer htop xdg-utils moreutils insomnia mumble inkscape guvcview vnstat gnome.gedit pwgen # for coc nodejs rnix-lsp # kubernetes stuff kubectl krew kubectx # from my overlay studio-link python3.pkgs.brother-ql ] ++ lib.optionals (config.networking.hostName == "jimbo") [ networkmanager ] ++ lib.optionals (config.networking.hostName == "milhouse") [ networkmanager ]; home.stateVersion = "21.11"; gtk = { enable = true; theme = { name = "Adwaita"; package = pkgs.gnome3.adwaita-icon-theme; }; }; xdg = { enable = true; }; services.gnome-keyring.enable = true; # e.g. for vscode nixpkgs.config.allowUnfree = true; programs.git = { enable = true; userName = "fleaz"; userEmail = "mail@felixbreidenstein.de"; }; services.mako = { enable = true; groupBy = "app-name"; defaultTimeout = 5000; }; services.kanshi = { enable = true; }; services.gammastep = { enable = true; tray = true; latitude = "49.8"; longitude = "8.6"; temperature = { day = 5500; night = 2500; }; }; # Enable blueman-applet when the machine has bluetooth enabled services.blueman-applet.enable = config.hardware.bluetooth.enable == true; }; }