niksos/hosts/hape/configuration.nix

78 lines
2.1 KiB
Nix
Raw Normal View History

2023-10-03 19:22:24 +02:00
{
config,
...
2024-09-01 23:40:43 +02:00
}: {
2023-10-03 19:22:24 +02:00
services = {
pcscd.enable = true;
udisks2.enable = true;
};
2024-08-06 17:52:50 +02:00
poz = {
other = {
home-manager = {
enable = true;
enableDirenv = true;
};
networking.enable = true;
2024-07-15 23:18:25 +02:00
};
programs = {
agenix.enable = true;
nh = let
2024-08-06 17:52:50 +02:00
inherit (config.poz.other.system) username;
2024-07-15 23:18:25 +02:00
home = config.home-manager.users.${username}.home.homeDirectory;
in {
enable = true;
flake = "${home}/niksos";
};
starship.enable = true;
zsh = {
enable = true;
extraAliases = {
u = "nh os switch -H hape";
us = "NIX_SSHOPTS='-t' nixos-rebuild switch --flake \"/home/jacek/niksos#chmura\" -L --use-remote-sudo --target-host chmura";
# TODO use this when nh supports it
#us = "NIX_SSHOPTS='-t' nh os switch -H chmura -- --store ssh-ng://chmura";
};
profiling = false;
};
zoxide.enable = true;
anyrun.enable = true;
btop.enable = true;
foot.enable = true;
mpv.enable = true;
neovim.enable = true;
zathura.enable = true;
hypr = {
land.enable = true;
lock.enable = true;
idle.enable = true;
};
quickshell = {
enable = true;
enabledConfigs = [
"powermenu"
"poz"
];
};
};
2023-10-13 21:04:24 +02:00
services = {
dunst.enable = true;
greetd = {
enable = true;
greeter = "gtkgreet";
launchOptions = [
"Hyprland"
"zsh"
"reboot"
"shutdown now"
];
};
mpd.enable = true;
pipewire.enable = true;
2023-10-13 21:04:24 +02:00
};
};
2023-10-03 19:22:24 +02:00
system.stateVersion = "23.11";
}