eeeehehehehhe
This commit is contained in:
parent
dbecf7d5a5
commit
11ede73150
|
@ -1,4 +1,5 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
rofi-wayland
|
rofi-wayland
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
@ -27,12 +28,24 @@
|
||||||
env = [
|
env = [
|
||||||
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
|
"HYPRCURSOR_THEME = Bibata-Modern-Ice"
|
||||||
"HYPRCURSOR_SIZE = 24"
|
"HYPRCURSOR_SIZE = 24"
|
||||||
|
"NIXOS_OZONE_WL = "1""
|
||||||
|
];
|
||||||
|
|
||||||
|
monitor = [
|
||||||
|
"eDP-1,1920x1080@60.01000,0x0,1"
|
||||||
];
|
];
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
"ags"
|
"ags"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
windowrule = [
|
||||||
|
"float,title:^(Volume)(.*)$"
|
||||||
|
"float,title:^(Disks)(.*)$"
|
||||||
|
"float,title:^(Calculator)(.*)$"
|
||||||
|
"float,title:^(Bluetooth)(.*)$"
|
||||||
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
|
|
||||||
# launch Apps
|
# launch Apps
|
||||||
|
@ -109,7 +122,7 @@
|
||||||
"$mod+Shift, 0, movetoworkspace, 10"
|
"$mod+Shift, 0, movetoworkspace, 10"
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
"$mod, mouse:272, movewindow"
|
"$mod, mouse:272, movewindow"
|
||||||
"$mod, mouse:273, resizewindow"
|
"$mod, mouse:273, resizewindow"
|
||||||
|
@ -118,8 +131,8 @@
|
||||||
bindl = [
|
bindl = [
|
||||||
", XF86MonBrightnessUp, exec, brightnessctl set +10%"
|
", XF86MonBrightnessUp, exec, brightnessctl set +10%"
|
||||||
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
|
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
|
||||||
", XF86AudioRaiseVolume, exec, amixer set Master 5%+"
|
", XF86AudioRaiseVolume, exec, amixer set Master 10%+"
|
||||||
", XF86AudioLowerVolume, exec, amixer set Master 5%-"
|
", XF86AudioLowerVolume, exec, amixer set Master 10%-"
|
||||||
];
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
|
|
@ -9,4 +9,12 @@ if [ "$vm_state" != "running" ]; then
|
||||||
sleep 5
|
sleep 5
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xfreerdp -grab-keyboard /v:192.168.122.93 /u:joy /p:1 /size:100% /dynamic-resolution /gfx-h264:avc444 +gfx-progressive /sec:nla /bpp:32 /rfx /rfx-mode:video -bitmap-cache -offscreen-cache -glyph-cache
|
# Get the IP address of the VM
|
||||||
|
VM_IP=$(virsh --connect qemu:///system domifaddr "$VM_NAME" | grep -oP '(\d+\.){3}\d+' | head -1)
|
||||||
|
|
||||||
|
if [ -z "$VM_IP" ]; then
|
||||||
|
echo "Failed to retrieve IP address for VM: $VM_NAME"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
xfreerdp -grab-keyboard /v:"$VM_IP" /u:joy /p:1 /size:100% /dynamic-resolution /gfx-h264:avc444 +gfx-progressive /sec:nla /bpp:32 /rfx /rfx-mode:video -bitmap-cache -offscreen-cache -glyph-cache
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
programs.zsh.enable = true;
|
programs.zsh.enable = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes"];
|
nix.settings.experimental-features = [ "nix-command" "flakes"];
|
||||||
|
|
Loading…
Reference in a new issue