niksos/hosts/hape/configuration.nix

85 lines
2.4 KiB
Nix
Raw Normal View History

2023-10-03 19:22:24 +02:00
{
config,
2024-10-02 18:23:22 +02:00
pkgs,
2023-10-03 19:22:24 +02:00
...
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 = {
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";
};
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;
};
anyrun.enable = true;
foot.enable = true;
mpv.enable = true;
neovim.enable = true;
2024-10-02 18:23:22 +02:00
zathura = {
enable = true;
themeFile = pkgs.fetchurl {
url = "https://raw.githubusercontent.com/catppuccin/zathura/main/src/catppuccin-mocha";
hash = "sha256-POxMpm77Pd0qywy/jYzZBXF/uAKHSQ0hwtXD4wl8S2Q=";
};
};
2024-07-15 23:18:25 +02:00
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"
];
};
2024-10-03 22:47:35 +02:00
mpd.enable = false;
pipewire.enable = true;
2024-10-03 22:47:35 +02:00
ssh = {
agent.enable = true;
daemon.enable = false;
};
2023-10-13 21:04:24 +02:00
};
};
2023-10-03 19:22:24 +02:00
system.stateVersion = "23.11";
}