Add home-manager

This commit is contained in:
Chandler Swift 2024-05-23 23:14:35 -05:00
parent 45b51d92d0
commit 774c113659

View file

@ -9,6 +9,7 @@
[
<nixos-hardware/framework/13-inch/7040-amd>
./hardware-configuration.nix
<home-manager/nixos>
];
# 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: