diff --git a/oscar/configuration.nix b/oscar/configuration.nix index 4e64556..e94dfd4 100644 --- a/oscar/configuration.nix +++ b/oscar/configuration.nix @@ -9,6 +9,7 @@ [ ./hardware-configuration.nix + ]; # https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14 @@ -90,16 +91,28 @@ # services.xserver.libinput.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.chandler = { - isNormalUser = true; - description = "Chandler Swift"; - extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ + users.users.chandler.isNormalUser = true; + users.users.chandler.description = "Chandler Swift"; + users.users.chandler.extraGroups = [ "networkmanager" "wheel" "dialout" ]; + home-manager.users.chandler = { pkgs, ... }: { + home.packages = with pkgs; [ firefox kate git # thunderbird ]; + + programs.bash.enable = true; + programs.emacs.enable = { + enable = true; + extraPackages = epkgs: [ + epkgs.nix-mode + epkgs.magit + epkgs.rust-mode + ]; + }; + + home.stateVersion = "23.11"; }; # List packages installed in system profile. To search, run: