From 1b65ba7a838e422c9bf16ddcaf796a996fa51b6b Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Fri, 27 Dec 2024 08:45:34 +0100 Subject: refactor: introduce profiles --- nixos/profiles/workstation/default.nix | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 nixos/profiles/workstation/default.nix (limited to 'nixos/profiles/workstation/default.nix') diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix new file mode 100644 index 0000000..ddc9a8c --- /dev/null +++ b/nixos/profiles/workstation/default.nix @@ -0,0 +1,20 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ../common + + ./graphical.nix + ./dev.nix + ./create.nix + ]; + + environment.systemPackages = with pkgs; [ + npins + ]; + + environment.sessionVariables = { + # Tell .zshrc to source zshrc-workstation.sh. + MYNIX_PROFILE = "workstation"; + }; +} -- cgit v1.2.3