From 5be7c3f389496146d4cb91da2b6a0412cb7c1b16 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 21 Feb 2022 13:53:39 -0800 Subject: 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". --- users/fcuny/devel/default.nix | 8 ++++++++ users/fcuny/devel/go.nix | 8 ++++++++ users/fcuny/devel/python.nix | 7 +++++++ 3 files changed, 23 insertions(+) create mode 100644 users/fcuny/devel/default.nix create mode 100644 users/fcuny/devel/go.nix create mode 100644 users/fcuny/devel/python.nix (limited to 'users/fcuny/devel') 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 + ]; +} -- cgit 1.4.1