mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-11-24 07:33:08 +01:00
fixed hyprland being weird in vms
This commit is contained in:
parent
fbf222ba7f
commit
399366b141
@ -74,7 +74,8 @@ This file should be located at /etc/nixos/configuration.nix
|
||||
- Clone this repo.
|
||||
- Then go into repo folder (stay in this folder)
|
||||
- Change username, hostname, theme, and any other variables you may want under user information in flake.nix
|
||||
- Ensure you have selected the proper profile in the flake as well. I use amd-desktop.
|
||||
- If you change your hostname in the flake.nix know you need to update your defualt config, rebuild, and reboot.
|
||||
- Ensure you have selected the proper profile in the flake as well.
|
||||
- Generate your hardware.nix like so:
|
||||
|
||||
```
|
||||
@ -84,7 +85,7 @@ nixos-generate-config --show-hardware-config > hardware.nix
|
||||
- Run this command:
|
||||
|
||||
```
|
||||
sudo nixos-rebuild switch --flake .#the-username-you-put-in-the-flake
|
||||
sudo nixos-rebuild switch --flake .
|
||||
```
|
||||
|
||||
Now when you want to rebuild the configuration you have access to an alias called flake-rebuild that will rebuild the flake based of the flakeDir variable you set in flake.nix!
|
||||
|
@ -10,6 +10,9 @@
|
||||
# exec Hyprland
|
||||
#fi
|
||||
'';
|
||||
initExtra = ''
|
||||
neofetch
|
||||
'';
|
||||
sessionVariables = {
|
||||
|
||||
};
|
||||
|
@ -16,7 +16,7 @@ in with lib; {
|
||||
extraConfig = let
|
||||
modifier = "SUPER";
|
||||
in concatStrings [ ''
|
||||
monitor=,highres,auto,1
|
||||
monitor=,preferred,auto,1
|
||||
windowrule = float, ^(steam)$
|
||||
windowrule = center, ^(steam)$
|
||||
windowrule = size 1080 900, ^(steam)$
|
||||
|
Loading…
Reference in New Issue
Block a user