From 44894ded298e7dd761830af234ac4027d4f2d894 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sat, 20 Apr 2024 19:42:46 +1200 Subject: [PATCH] feat(ooksphone): move home configuration to its own module --- home/user/ooks/ooksphone/default.nix | 16 ++++++++++++++++ system/hosts/ooksphone/default.nix | 11 +---------- 2 files changed, 17 insertions(+), 10 deletions(-) create mode 100644 home/user/ooks/ooksphone/default.nix diff --git a/home/user/ooks/ooksphone/default.nix b/home/user/ooks/ooksphone/default.nix new file mode 100644 index 0000000..6604a2b --- /dev/null +++ b/home/user/ooks/ooksphone/default.nix @@ -0,0 +1,16 @@ +{ inputs, outputs, config, ... }: + +{ + imports = [ + ../../../modules + ]; + + homeModules = { + console.editor.helix.enable = true; + }; + + home.sessionVariables.HN = "ooksphone"; + + home.stateVersion = "23.11"; +} + diff --git a/system/hosts/ooksphone/default.nix b/system/hosts/ooksphone/default.nix index 71cf843..26eb90b 100644 --- a/system/hosts/ooksphone/default.nix +++ b/system/hosts/ooksphone/default.nix @@ -32,15 +32,6 @@ home-manager = { backupFileExtension = "hm-bak"; useGlobalPkgs = true; - - config = - { config, lib, pkgs, ... }: - { - imports = [ ../../../home/modules/console/editor ]; - - homeModules.home.console.editor.helix.enable = true; - - home.stateVersion = "23.11"; - }; + config = import ../../../home/user/ooks/ooksphone; }; }