The general configuration of my development environment and many other general computer things.
at main 38 lines 891 B view raw
1{ pkgs, user, ... }: 2{ 3 imports = [ 4 ../shared 5 ../shared/cachix 6 ]; 7 8 # Set your time zone. 9 time.timeZone = "Australia/Melbourne"; 10 11 # Turn on flag for proprietary software 12 nix = { 13 nixPath = [ "nixos-config=/home/${user}/.local/share/nixos-config:/etc/nixos" ]; 14 settings.allowed-users = [ "${user}" ]; 15 package = pkgs.nixUnstable; 16 extraOptions = '' 17 experimental-features = nix-command flakes 18 ''; 19 }; 20 21 # It's me, it's you, it's everyone 22 users.users.${user} = { 23 isNormalUser = true; 24 extraGroups = [ 25 "wheel" # Enable ‘sudo’ for the user. 26 ]; 27 shell = pkgs.zsh; 28 }; 29 30 environment.systemPackages = import ../shared/packages.nix { inherit pkgs; } ++ (with pkgs; [ 31 # Linux specific packages 32 gitAndTools.gitFull 33 ]); 34 35 fonts.packages = import ../shared/fonts.nix { inherit pkgs; }; 36 37 system.stateVersion = "25.05"; 38}