Add home-manager

main
Chandler Swift 2024-05-23 23:14:35 -05:00
parent 45b51d92d0
commit 774c113659
1 changed files with 18 additions and 5 deletions

View File

@ -9,6 +9,7 @@
[ [
<nixos-hardware/framework/13-inch/7040-amd> <nixos-hardware/framework/13-inch/7040-amd>
./hardware-configuration.nix ./hardware-configuration.nix
<home-manager/nixos>
]; ];
# https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14 # https://discourse.nixos.org/t/github-strategies-for-configuration-nix/1983/14
@ -90,16 +91,28 @@
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.chandler = { users.users.chandler.isNormalUser = true;
isNormalUser = true; users.users.chandler.description = "Chandler Swift";
description = "Chandler Swift"; users.users.chandler.extraGroups = [ "networkmanager" "wheel" "dialout" ];
extraGroups = [ "networkmanager" "wheel" ]; home-manager.users.chandler = { pkgs, ... }: {
packages = with pkgs; [ home.packages = with pkgs; [
firefox firefox
kate kate
git git
# thunderbird # 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: # List packages installed in system profile. To search, run: