Let home-manager self-manage

This commit is contained in:
Evie Litherland-Smith 2023-07-16 18:45:41 +01:00
parent 690d99830b
commit 648072665d
4 changed files with 13 additions and 5 deletions

View file

@ -25,7 +25,6 @@
... ...
} @ inputs: { } @ inputs: {
nixosConfigurations = let nixosConfigurations = let
topLevel = ./.;
userConfig = { userConfig = {
isNormalUser = true; isNormalUser = true;
description = "Evie Litherland-Smith"; description = "Evie Litherland-Smith";
@ -33,7 +32,7 @@
shell = pkgs.fish; shell = pkgs.fish;
openssh.authorizedKeys.keys = import ./auth/authorized_keys.nix; openssh.authorizedKeys.keys = import ./auth/authorized_keys.nix;
}; };
specialArgs = {inherit inputs topLevel userConfig;}; specialArgs = {inherit inputs userConfig;};
waybar-experimental-overlay = final: prev: { waybar-experimental-overlay = final: prev: {
waybar = prev.waybar.overrideAttrs (oldAttrs: { waybar = prev.waybar.overrideAttrs (oldAttrs: {
mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"]; mesonFlags = oldAttrs.mesonFlags ++ ["-Dexperimental=true"];

View file

@ -12,5 +12,8 @@ in {
inherit username homeDirectory; inherit username homeDirectory;
stateVersion = "22.11"; stateVersion = "22.11";
}; };
programs.neovim.package = pkgs.neovim-nightly; programs = {
home-manager.enable = true;
neovim.package = pkgs.neovim-nightly;
};
} }

View file

@ -21,7 +21,10 @@ in {
zoom-us zoom-us
]; ];
}; };
programs.neovim.package = pkgs.neovim-nightly; programs = {
home-manager.enable = true;
neovim.package = pkgs.neovim-nightly;
};
xdg.configFile."hypr/display.conf".text = '' xdg.configFile."hypr/display.conf".text = ''
monitor=desc:Iiyama North America PLB2403WS 0574281251316,1920x1200@60,0x185,1 monitor=desc:Iiyama North America PLB2403WS 0574281251316,1920x1200@60,0x185,1
monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,1920x1080@60,1920x0,1,transform,1 monitor=desc:Dell Inc. DELL U2417H 5K9YD872FY1L,1920x1080@60,1920x0,1,transform,1

View file

@ -13,7 +13,10 @@ in {
inherit username homeDirectory; inherit username homeDirectory;
stateVersion = "22.11"; stateVersion = "22.11";
}; };
programs.neovim.package = pkgs.neovim-nightly; programs = {
home-manager.enable = true;
neovim.package = pkgs.neovim-nightly;
};
xdg.configFile."hypr/display.conf".text = '' xdg.configFile."hypr/display.conf".text = ''
monitor=DP-1,highrr,auto,1 monitor=DP-1,highrr,auto,1
monitor=DP-2,highrr,auto,1 monitor=DP-2,highrr,auto,1