move hypr

This commit is contained in:
cnst
2024-07-02 16:50:52 +02:00
parent ffb53bf615
commit 661e03b4f4
10 changed files with 57 additions and 43 deletions

View File

@@ -3,12 +3,6 @@
BROWSER = "firefox";
EDITOR = "nvim";
TERM = "kitty";
AMD_VULKAN_ICD = "RADV";
NIXOS_OZONE_WL = 1;
SDL_VIDEODRIVER = "wayland";
QT_QPA_PLATFORM = "wayland";
XDG_SESSION_TYPE = "wayland";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
};
imports = [
./git

View File

@@ -25,18 +25,5 @@
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

@@ -10,7 +10,9 @@
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";
};
history = {
size = 1000;