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/parts/basics.nix | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 nixos/parts/basics.nix (limited to 'nixos/parts/basics.nix') diff --git a/nixos/parts/basics.nix b/nixos/parts/basics.nix deleted file mode 100644 index aa6eff9..0000000 --- a/nixos/parts/basics.nix +++ /dev/null @@ -1,35 +0,0 @@ -{ config, pkgs, ... }: - -{ - environment.systemPackages = with pkgs; [ - git - vim - - file - htop - ripgrep - tree - # TODO: use a tree alternative that understands .gitignore - wget - ]; - - users.defaultUserShell = pkgs.zsh; - programs.zsh = { - enable = true; - - # Disabling compinit in /etc/zshrc so that we can call - # compinit with a custom zcompdump location in .zshrc. - enableGlobalCompInit = false; - }; - - environment.sessionVariables = - let - config = "$HOME/config/user"; - in - { - # Set environment variables for software that doesn't - # follow the XDG Base Directory specification. - - ZDOTDIR = "${config}/zsh"; - }; -} -- cgit v1.2.3