nixos/home.nix

58 lines
1.2 KiB
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;
services.dunst.enable = true;
services.unclutter.enable = true;
programs.chromium = {
enable = true;
package = pkgs.google-chrome;
};
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
'')
feh
imagemagick
];
home.file = { };
home.sessionPath = [
"${config.home.homeDirectory}/.cargo/bin"
];
nixpkgs.config.allowUnfree = true;
# wayland.windowManager.hyprland = {
# enable = true;
# package = pkgs.hyprland;
# xwayland.enable = true;
# systemd.enable = true;
# };
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.stateVersion = "23.11";
}