home-manager hyprland
This commit is contained in:
@@ -14,8 +14,16 @@
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
pyprland
|
pyprland
|
||||||
];
|
];
|
||||||
|
wayland.windowManager.hyprland = {
|
||||||
|
|
||||||
home.file.".config/hypr/hyprland.conf".text = let
|
enable = true;
|
||||||
|
|
||||||
|
systemd = {
|
||||||
|
enable = true;
|
||||||
|
variables = [ "--all" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
extraConfig = let
|
||||||
monitor = if config.homeconfig.host == "laptop" then ''
|
monitor = if config.homeconfig.host == "laptop" then ''
|
||||||
monitor=eDP-1,1920x1080@60,0x0,1
|
monitor=eDP-1,1920x1080@60,0x0,1
|
||||||
'' else if config.homeconfig.host == "homebox" then ''
|
'' else if config.homeconfig.host == "homebox" then ''
|
||||||
@@ -26,5 +34,7 @@
|
|||||||
in ''
|
in ''
|
||||||
source = /home/nathan/.config/hypr/main.conf
|
source = /home/nathan/.config/hypr/main.conf
|
||||||
'' + monitor;
|
'' + monitor;
|
||||||
|
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -191,7 +191,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = [ "nixpkgs=${inputs.nixpkgs}" "unstable=${inputs.nixpkgs-us}" ];
|
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
||||||
settings = {
|
settings = {
|
||||||
experimental-features = [ "nix-command" "flakes" ];
|
experimental-features = [ "nix-command" "flakes" ];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user