Evie Litherland-Smith
8c5ba7f4c3
Move home-manager setup back into being NixOS module where possible Parameterise common elements of system config to minimise rewriting and pass as function to all places needed
18 lines
395 B
Nix
18 lines
395 B
Nix
{ user, shellConfig, ... }:
|
|
let homeDirectory = "/home/${user}";
|
|
in {
|
|
imports = [ shellConfig ../../home ];
|
|
home = {
|
|
inherit homeDirectory;
|
|
username = user;
|
|
stateVersion = "22.11";
|
|
};
|
|
programs.home-manager.enable = true;
|
|
xdg.configFile."hypr/display.conf".text = ''
|
|
misc {
|
|
vrr = 2
|
|
}
|
|
monitor=desc:Acer Technologies ED270R TJMEE0043W01,highrr,0x0,1
|
|
'';
|
|
}
|