finally fixed hypr

This commit is contained in:
cnst
2024-07-03 18:40:01 +02:00
parent 9721a56b4b
commit 0b5e26669c
10 changed files with 61 additions and 64 deletions

View File

@@ -9,13 +9,6 @@
./rofi.nix
];
xdg.portal = let
hyprland = config.wayland.windowManager.hyprland.package;
xdph = pkgs.xdg-desktop-portal-hyprland.override {inherit hyprland;};
in {
extraPortals = [xdph];
configPackages = [hyprland];
};
home.packages = with pkgs; [
grimblast
slurp
@@ -24,19 +17,4 @@
tofi
gnome.gnome-calculator
];
wayland.windowManager.hyprland = {
enable = true;
package = pkgs.hyprland;
xwayland.enable = true;
extraConfig = ''
${builtins.readFile ./hyprland.conf}
'';
systemd = {
enable = true;
extraCommands = [
"systemctl --user stop graphical-session.target"
"systemctl --user start hyprland-session.target"
];
};
};
}

View File

@@ -1,7 +0,0 @@
# HYPRLAND CONFIGURATION
source=./land/appearance.conf
source=./land/inputs.conf
source=./land/keybinds.conf
source=./land/rules.conf
source=./land/startup.conf

View File

@@ -2,7 +2,7 @@
programs.rofi = {
enable = true;
package = pkgs.rofi-wayland-unwrapped;
configPath = "$XDG_CONFIG_HOME/rofi/config.rasi";
configPath = "home/cnst/.config/rofi/config.rasi";
font = "Rec Mono Linear 11";
};
}

View File

@@ -9,10 +9,10 @@
shellAliases = {
nixconfig = "cd /home/cnst/.nix-config/";
ll = "ls -l";
nixupdate = "sudo nixos-rebuild switch -v --show-trace --flake .#cnix";
nixup = "sudo nixos-rebuild switch --flake .#cnix";
flakeupdate = "nix flake update";
flakeup = "nix flake update";
nixupdate = "nh os switch -v -H cnix";
nixup = "nh os switch -H cnix";
flakeupdate = "nh os switch -u -v -H cnix";
flakeup = "nh os switch -u -H cnix";
};
history = {
size = 1000;