diff options
| author | Christian <[email protected]> | 2026-05-11 21:48:49 -0500 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-05-11 21:48:49 -0500 |
| commit | fa5668fdab887a93629d090dafef1dbadf8e8c0d (patch) | |
| tree | 718e944da5fe3304741421e75665feaf13d656ba /modules | |
| parent | b37bb85cd72dc3aca02aaa99d944f92ce75246f2 (diff) | |
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/common.nix | 2 | ||||
| -rw-r--r-- | modules/dev.nix | 21 | ||||
| -rw-r--r-- | modules/home/dev.nix | 25 |
3 files changed, 48 insertions, 0 deletions
diff --git a/modules/common.nix b/modules/common.nix index 091b8c9..614f973 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -12,6 +12,8 @@ inputs.home-manager.nixosModules.home-manager ]; + nixpkgs.config.allowUnfree = true; + nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # Experimental features diff --git a/modules/dev.nix b/modules/dev.nix new file mode 100644 index 0000000..6bf1bcc --- /dev/null +++ b/modules/dev.nix @@ -0,0 +1,21 @@ +{ + config, + lib, + pkgs, + inputs, + ... +}: + +{ + imports = [ + inputs.home-manager.nixosModules.home-manager + ]; + + home-manager.users.christian = { + imports = [ + ./home/dev.nix + ]; + }; + + programs.nix-ld.enable = true; +} diff --git a/modules/home/dev.nix b/modules/home/dev.nix new file mode 100644 index 0000000..c801943 --- /dev/null +++ b/modules/home/dev.nix @@ -0,0 +1,25 @@ +{ + config, + pkgs, + inputs, + ... +}: +{ + programs.vscode = { + enable = true; + package = pkgs.vscode-fhs; + + mutableExtensionsDir = true; + + profiles.default.extensions = with pkgs.vscode-extensions; [ + continue.continue + ]; + + profiles.default.userSettings = { + "continue.proxy" = "http://localhost:11434"; + }; + }; + + programs.uv.enable = true; + home.sessionPath = [ "$HOME/.local/bin" ]; +} |
