diff --git a/home/common.nix b/home/common.nix new file mode 100644 index 00000000..de2ba290 --- /dev/null +++ b/home/common.nix @@ -0,0 +1,6 @@ +{pkgs, ...}: { + home.packages = with pkgs; [ + libreoffice-fresh + otpclient + ]; +} diff --git a/home/default.nix b/home/default.nix index 1934cfcd..627880cb 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,9 +1 @@ -{pkgs, ...}: let - home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; -in { - imports = [(import "${home-manager}/nixos")]; - home.packages = with pkgs; [ - libreoffice-fresh - otpclient - ]; -} +{...}: let home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz"; in {imports = [(import "${home-manager}/nixos")];} diff --git a/home/personal.nix b/home/personal.nix index 760288c4..bd51403c 100644 --- a/home/personal.nix +++ b/home/personal.nix @@ -1,5 +1,6 @@ {pkgs, ...}: { imports = [ + ./common.nix ./env ./gui ./tui diff --git a/home/work.nix b/home/work.nix index 970e8060..a0666844 100644 --- a/home/work.nix +++ b/home/work.nix @@ -1,5 +1,6 @@ {pkgs, ...}: { imports = [ + ./common.nix ./env ./gui ./tui