{ config, pkgs, ... }: let secrets = import ./secrets.nix; wywozik = pkgs.nur.repos.pn.wywozik-todo.override { configFile = '' CITY = "PoznaƄ" STREET = "${secrets.street}" NUMBER = "${secrets.number}" HOUSING = "zamieszkana" TOKEN = "${secrets.todoist}" ''; }; pnvim = import ./programs/nvim.nix pkgs; common_packages = import ./platforms/common-packages.nix pkgs; isDarwin = builtins.currentSystem == "x86_64-darwin"; platformSetup = if isDarwin then [ ./platforms/darwin ] else [ ./platforms/linux # ./programs/rclone.nix ]; in { # Errors on linux manual.manpages.enable = if isDarwin then true else false; dconf.enable = if isDarwin then true else false; # Let Home Manager install and manage itself. programs.home-manager.enable = true; # Home Manager needs a bit of information about you and the # paths it should manage. home.username = "pn"; home.homeDirectory = if isDarwin then "/Users/pn" else "/home/pn"; imports = [ # Platform specific config ./programs/zsh ./programs/newsboat ./programs/git.nix ./programs/sent ] ++ platformSetup; home.packages = with pkgs; [ wywozik # Basic gnupg pnvim nur.repos.pn.larbs-mail nur.repos.pn.larbs-news nur.repos.pn.dmenu amfora translate-shell nix-index minecraft # Misc teams zoom-us weechat todoist browserpass spotify-tui # gimp slack-dark signal-desktop pandoc texlive.combined.scheme-basic zathura ] ++ common_packages; # 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 = "20.09"; }