mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
39 lines
974 B
Nix
39 lines
974 B
Nix
{ pkgs, lib, config, osConfig, inputs, ... }:
|
|
let cfg = osConfig.mods;
|
|
in {
|
|
imports = [ inputs.impermanence.homeManagerModules.impermanence ];
|
|
|
|
# Modules
|
|
mods.xdg.enable = true;
|
|
mods.i3.enable = true;
|
|
mods.terminal.zsh.enable = true;
|
|
mods.terminal.emulator.enable = true;
|
|
mods.terminal.development.enable = true;
|
|
mods.terminal.tools.enable = true;
|
|
mods.desktop.development.enable = true;
|
|
mods.desktop.productivity.enable = false;
|
|
|
|
home.file = {
|
|
".config/aerc/pw.sh" = {
|
|
text = "cat ${config.sops.secrets.hr-password.path}";
|
|
executable = true;
|
|
};
|
|
};
|
|
|
|
# Hardware preferences
|
|
|
|
## Monitors
|
|
services.autorandr.enable = true;
|
|
programs.autorandr = {
|
|
enable = true;
|
|
hooks.postswitch = {
|
|
"notify-i3" = "${pkgs.i3}/bin/i3-msg restart";
|
|
"set-wallpaper" = ''
|
|
${lib.getExe pkgs.feh} --bg-fill --nofehbg ${./wallpaper.png}
|
|
'';
|
|
};
|
|
};
|
|
|
|
# Version of first install
|
|
home.stateVersion = "23.05";
|
|
}
|