From 997e2c2586a6ef3389fe5b8782e4c3b61750cd86 Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Wed, 24 May 2023 21:34:44 +0200 Subject: [PATCH] Split into apps and utils --- nixos/modules/apps/default.nix | 18 +++++++++++++++ nixos/modules/default.nix | 40 --------------------------------- nixos/modules/utils/default.nix | 33 +++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 40 deletions(-) diff --git a/nixos/modules/apps/default.nix b/nixos/modules/apps/default.nix index 5bc6029..964709b 100644 --- a/nixos/modules/apps/default.nix +++ b/nixos/modules/apps/default.nix @@ -6,4 +6,22 @@ ./thunderbird # ./virtualbox ]; + + home-manager.users.tdpeuter = { pkgs, ... }: { + home.packages = with pkgs; [ + brave + caprine-bin + discord + jellyfin-media-player + libreoffice-fresh-unwrapped + mattermost-desktop + nextcloud-client + obsidian + pinentry_qt + qalculate-gtk + spotify + zathura + zoom-us + ]; + }; } diff --git a/nixos/modules/default.nix b/nixos/modules/default.nix index 4c67e7b..3b4c745 100644 --- a/nixos/modules/default.nix +++ b/nixos/modules/default.nix @@ -35,26 +35,7 @@ stateVersion = "22.11"; packages = with pkgs; [ - brave - caprine-bin - direnv - discord - duf - git-crypt gnupg - jellyfin-media-player - libreoffice-fresh-unwrapped - lynx - mattermost-desktop - nextcloud-client - obsidian - pinentry_qt - qalculate-gtk - spotify - w3m - zathura - zenith - zoom-us # Fonts corefonts # Calibri for Uni @@ -63,28 +44,7 @@ programs = { home-manager.enable = true; - direnv = { - enable = true; - nix-direnv.enable = true; - }; - - git = { - enable = true; - userName = "tdpeuter"; - userEmail = "tibo.depeuter@gmail.com"; - extraConfig = { - core.editor = "vim"; - }; - includes = [ - { - path = "~/.gitconfig-ugent"; - condition = "gitdir:~/Nextcloud/Documenten/UGent"; - } - ]; - }; - gpg.enable = true; - }; services = { diff --git a/nixos/modules/utils/default.nix b/nixos/modules/utils/default.nix index 5a3ee62..6c9ab51 100644 --- a/nixos/modules/utils/default.nix +++ b/nixos/modules/utils/default.nix @@ -4,4 +4,37 @@ ./vim ./zellij ]; + + home-manager.users.tdpeuter = { pkgs, ... }: { + home.packages = with pkgs; [ + direnv + duf + git-crypt + lynx + w3m + zenith + ]; + + programs = { + direnv = { + enable = true; + nix-direnv.enable = true; + }; + + git = { + enable = true; + userName = "tdpeuter"; + userEmail = "tibo.depeuter@gmail.com"; + extraConfig = { + core.editor = "vim"; + }; + includes = [ + { + path = "~/.gitconfig-ugent"; + condition = "gitdir:~/Nextcloud/Documenten/UGent"; + } + ]; + }; + }; + }; }