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/devel | |
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 'users/fcuny/devel')
-rw-r--r-- | users/fcuny/devel/default.nix | 8 | ||||
-rw-r--r-- | users/fcuny/devel/go.nix | 8 | ||||
-rw-r--r-- | users/fcuny/devel/python.nix | 7 |
3 files changed, 23 insertions, 0 deletions
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/devel/go.nix b/users/fcuny/devel/go.nix new file mode 100644 index 0000000..647da39 --- /dev/null +++ b/users/fcuny/devel/go.nix @@ -0,0 +1,8 @@ +{ + programs.go = { + enable = true; + goPath = ".local/share/pkg.go"; + goBin = ".local/bin.go"; + goPrivate = [ "git.fcuny.net" "golang.fcuny.net" ]; + }; +} 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 + ]; +} |