nixos/hosts/sprite/home.nix

40 lines
848 B
Nix

{ config, pkgs, inputs, ... }:
{
imports = [
../../home/modules
];
snowhawk.neovim = {
enable = true;
package = inputs.neovim-overlay.packages.${pkgs.system}.default;
};
snowhawk.alacritty.enable = true;
snowhawk.cursor.enable = true;
snowhawk.projects.enable = true;
xsession.numlock.enable = true;
home.packages = with pkgs; [
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
(writeShellScriptBin "rebuild" ''
sudo nixos-rebuild switch --log-format internal-json -v |& nom --json
'')
];
home.file = { };
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
nixpkgs.config.allowUnfree = true;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}