diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-04-27 16:51:06 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-04-27 16:51:06 +0900 |
| commit | 9ef8940ad850bff7bba5feb4c0fff4b707f4ff2b (patch) | |
| tree | de617d2f4779cc119428383a5218decbd8396780 | |
| parent | 3c8d630bd5ada8c8830f548dde783bffcff5c8a4 (diff) | |
| download | dotfiles-9ef8940ad850bff7bba5feb4c0fff4b707f4ff2b.tar.gz dotfiles-9ef8940ad850bff7bba5feb4c0fff4b707f4ff2b.tar.zst dotfiles-9ef8940ad850bff7bba5feb4c0fff4b707f4ff2b.zip | |
home-manager: refactor
| -rw-r--r-- | home-manager/home.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix index 30b09b3..146680e 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -1,10 +1,15 @@ -{ pkgs, specialArgs, ... }: +{ + pkgs, + nurpkgs, + env, + ... +}: let - username = specialArgs.env.username; - homeDirectory = specialArgs.env.homeDirectory; - clipboardCopyCommand = specialArgs.env.gui.clipboard.copyCommand; + username = env.username; + homeDirectory = env.homeDirectory; + clipboardCopyCommand = env.gui.clipboard.copyCommand; requiresWlClipboard = clipboardCopyCommand == "wl-copy"; - terminalApp = specialArgs.env.gui.terminalApp; + terminalApp = env.gui.terminalApp; in { nixpkgs.config.allowUnfree = true; @@ -63,8 +68,8 @@ in pkgs.nodePackages.typescript-language-server pkgs.nodePackages.yarn - specialArgs.nurpkgs.hgrep - specialArgs.nurpkgs.reparojson + nurpkgs.hgrep + nurpkgs.reparojson ] ++ ( let |
