From c4980351402a4974fff1676f5d02bfb0ba86a50f Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Thu, 8 Feb 2024 13:48:37 +0100 Subject: [PATCH] feat: split private from swp config --- configuration.nix | 1 - flake.nix | 4 ++++ home-mandlm.nix | 2 -- swp/configuration.nix | 6 ++++++ swp/home-mandlm.nix | 8 ++++++++ 5 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 swp/configuration.nix create mode 100644 swp/home-mandlm.nix diff --git a/configuration.nix b/configuration.nix index e2fd96f..86b6475 100644 --- a/configuration.nix +++ b/configuration.nix @@ -60,7 +60,6 @@ }; programs = { - appgate-sdp.enable = true; zsh.enable = true; gphoto2.enable = true; }; diff --git a/flake.nix b/flake.nix index d38e12d..2500470 100644 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,7 @@ system = "x86_64-linux"; modules = [ ./configuration.nix + ./swp/configuration.nix ./greetd.nix ./users.nix ./machines/apache/configuration.nix @@ -69,6 +70,7 @@ imports = [ ./home-${user}.nix ./machines/apache/home-${user}.nix + ./swp/home-${user}.nix ]; nixpkgs.config = nixpkgs-config; nixpkgs.overlays = [ overlay-unstable ]; @@ -81,6 +83,7 @@ system = "x86_64-linux"; modules = [ ./configuration.nix + ./swp/configuration.nix ./greetd.nix ./users.nix ./machines/p330/configuration.nix @@ -95,6 +98,7 @@ imports = [ ./home-${user}.nix ./machines/p330/home-${user}.nix + ./swp/home-${user}.nix ]; nixpkgs.config = nixpkgs-config; nixpkgs.overlays = [ overlay-unstable ]; diff --git a/home-mandlm.nix b/home-mandlm.nix index 41bc7a4..8098388 100644 --- a/home-mandlm.nix +++ b/home-mandlm.nix @@ -17,14 +17,12 @@ gnumake unzip gcc - slack thunderbird keepassxc tree light element-desktop difftastic - zoom-us darktable kubectl kubectx diff --git a/swp/configuration.nix b/swp/configuration.nix new file mode 100644 index 0000000..7ac61c4 --- /dev/null +++ b/swp/configuration.nix @@ -0,0 +1,6 @@ +{ pkgs, lib, ... }: + +{ + programs.appgate-sdp.enable = true; +} + diff --git a/swp/home-mandlm.nix b/swp/home-mandlm.nix new file mode 100644 index 0000000..889e067 --- /dev/null +++ b/swp/home-mandlm.nix @@ -0,0 +1,8 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + slack + zoom-us + ]; +}