initial NixOS setup

This commit is contained in:
2026-10-26 09:17:04 +01:00
commit bcde896a30
5 changed files with 441 additions and 0 deletions
+86
View File
@@ -0,0 +1,86 @@
{ pkgs, ... }:
{
home.username = "reaper";
home.homeDirectory = "/home/reaper";
home.stateVersion = "26.11";
home.packages = with pkgs; [
oh-my-posh
nerd-fonts.hack
pkgs.nixfmt
];
programs.git = {
enable = true;
settings.user.name = "ReaperOfVeriod";
settings.user.email = "oeps46@gmail.com";
};
programs.zsh = {
enable = true;
oh-my-zsh = {
enable = true;
plugins = [
"git"
"sudo"
];
theme = "";
};
shellAliases = {
ll = "ls -lah";
};
initContent = ''
eval "$(oh-my-posh init zsh)"
'';
};
programs.kitty = {
enable = true;
settings = {
font_family = "Hack Nerd Font";
font_size = 12;
};
};
wayland.windowManager.hyprland = {
enable = true;
systemd.enable = false; # So home-manager works.
configType = "hyprlang";
settings = {
monitor = [
"Virtual-1,1920x1080@60,auto,1"
];
bind = [
"CTRL_L ALT_L , T, exec, kitty"
"CTRL_L SHIFT_L , Q, killactive"
];
exec-once = [
"waybar"
];
general = {
gaps_in = 5;
gaps_out = 10;
border_size = 2;
};
decoration = {
rounding = 8;
};
};
};
programs.home-manager.enable = true;
}