diff options
| author | Leander Scherer <leander@schererleander.de> | 2026-01-08 16:05:52 +0100 |
|---|---|---|
| committer | Leander Scherer <leander@schererleander.de> | 2026-01-08 19:08:13 +0100 |
| commit | e57e8cdfe59e1407ad73c192bd9f7f2b0b5005b5 (patch) | |
| tree | 7bb2b2ad7544a5779027b1bac5cf089a478a70d4 /hosts/lilith | |
| parent | e8f58189eb4d01ee2a7684a30b27fa187f37d1aa (diff) | |
refactor(desktop): conditionally import modules based on useHomeManager
Diffstat (limited to 'hosts/lilith')
| -rw-r--r-- | hosts/lilith/configuration.nix | 43 |
1 files changed, 14 insertions, 29 deletions
diff --git a/hosts/lilith/configuration.nix b/hosts/lilith/configuration.nix index f3962d8..2a35c74 100644 --- a/hosts/lilith/configuration.nix +++ b/hosts/lilith/configuration.nix @@ -2,27 +2,15 @@ pkgs, host, username, - inputs, ... }: { - users.users.${username}.home = "/Users/${username}"; - networking.hostName = host; - home-manager.users.${username} = { - home.username = username; - home.homeDirectory = "/Users/${username}"; - programs.home-manager.enable = true; - - imports = [ - ../../modules/users - inputs.nixcord.homeModules.nixcord - inputs.spicetify-nix.homeManagerModules.spicetify - ]; - - home.packages = with pkgs; [ + nx.user.${username} = { + stateVersion = "25.11"; + packages = with pkgs; [ htop ffmpeg wget @@ -37,27 +25,24 @@ nerd-fonts.symbols-only ]; - home.stateVersion = "25.11"; - home.sessionVariables = { + sessionVariables = { PATH = "/opt/homebrew/opt/openjdk@21/bin:$PATH"; }; nx = { - editors = { - neovim = { - enable = true; - langs = { - python = true; - go = true; - java = true; - latex = true; - }; + terminal.defaultShell = "zsh"; + + editors.neovim = { + enable = true; + langs = { + python = true; + go = true; + java = true; + latex = true; }; }; git.enable = true; - cli = { - opencode.enable = true; - }; + cli.opencode.enable = true; media = { spicetify.enable = true; nixcord.enable = true; |
