diff options
author | Franck Cuny <franck@fcuny.net> | 2022-02-21 13:53:39 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-02-21 13:53:39 -0800 |
commit | 5be7c3f389496146d4cb91da2b6a0412cb7c1b16 (patch) | |
tree | 96478db2fb8d6bbf0904abf6b5f07bef115684ed /users/fcuny | |
parent | docs: update wireguard setup (diff) | |
download | world-5be7c3f389496146d4cb91da2b6a0412cb7c1b16.tar.gz |
devel: create new directory for devel modules
Add python, and move go from the cli modules. Install these modules only if we're a "desktop".
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/cli/default.nix | 1 | ||||
-rw-r--r-- | users/fcuny/default.nix | 2 | ||||
-rw-r--r-- | users/fcuny/devel/default.nix | 8 | ||||
-rw-r--r-- | users/fcuny/devel/go.nix (renamed from users/fcuny/cli/go.nix) | 0 | ||||
-rw-r--r-- | users/fcuny/devel/python.nix | 7 |
5 files changed, 16 insertions, 2 deletions
diff --git a/users/fcuny/cli/default.nix b/users/fcuny/cli/default.nix index b047eee..65f81bd 100644 --- a/users/fcuny/cli/default.nix +++ b/users/fcuny/cli/default.nix @@ -3,7 +3,6 @@ { imports = [ ./git.nix - ./go.nix ./tmux.nix ./yt-dlp.nix ./zsh.nix diff --git a/users/fcuny/default.nix b/users/fcuny/default.nix index 755f59e..fa6a24a 100644 --- a/users/fcuny/default.nix +++ b/users/fcuny/default.nix @@ -3,7 +3,7 @@ { imports = [./cli ] - ++ (if desktop then [./desktop] else [ ]); + ++ (if desktop then [./desktop ./devel] else [ ]); programs.home-manager.enable = true; diff --git a/users/fcuny/devel/default.nix b/users/fcuny/devel/default.nix new file mode 100644 index 0000000..fcb4d2b --- /dev/null +++ b/users/fcuny/devel/default.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ...}: + +{ + imports = [ + ./go.nix + ./python.nix + ]; +} diff --git a/users/fcuny/cli/go.nix b/users/fcuny/devel/go.nix index 647da39..647da39 100644 --- a/users/fcuny/cli/go.nix +++ b/users/fcuny/devel/go.nix diff --git a/users/fcuny/devel/python.nix b/users/fcuny/devel/python.nix new file mode 100644 index 0000000..4a3e53c --- /dev/null +++ b/users/fcuny/devel/python.nix @@ -0,0 +1,7 @@ +{ pkgs, ... }: + +{ + home.packages = with pkgs; [ + python310 + ]; +} |