diff --git a/users/geekiot/data.nix b/users/geekiot/data.nix index 9fda82c..1893e1e 100644 --- a/users/geekiot/data.nix +++ b/users/geekiot/data.nix @@ -16,6 +16,7 @@ in paths = { inherit homeDir; + configDir = "${homeDir}/NewProjects/nixos-config"; sopsKeyFile = "${homeDir}/.security/sops/age/keys.txt"; }; diff --git a/users/geekiot/home/default.nix b/users/geekiot/home/default.nix new file mode 100644 index 0000000..272d3f5 --- /dev/null +++ b/users/geekiot/home/default.nix @@ -0,0 +1,16 @@ +{ userData, customFunctions, ... }: +{ + imports = customFunctions.scan { + path = ./.; + exclude = [ ./default.nix ]; + }; + + home = { + username = userData.info.userName; + homeDirectory = userData.paths.homeDir; + stateVersion = "25.05"; + sessionVariables = { + CONFIG = userData.paths.configDir; + }; + }; +} diff --git a/users/geekiot/host/default.nix b/users/geekiot/host/default.nix new file mode 100644 index 0000000..10d36eb --- /dev/null +++ b/users/geekiot/host/default.nix @@ -0,0 +1,15 @@ +{ pkgs, customFunctions, ... }: +{ + imports = customFunctions.scan { + path = ./.; + exclude = [ ./default.nix ]; + }; + + environment.systemPackages = with pkgs; [ + age + sops + efibootmgr + ]; + + system.stateVersion = "25.05"; +}