virt
This commit is contained in:
parent
b302bb2dcd
commit
f6ffe0c7bb
|
@ -25,4 +25,6 @@
|
|||
history.size = 1000000;
|
||||
history.path = ".config/zsh/history";
|
||||
};
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
programs.hyprland.enable = true;
|
||||
home-manager.users.joy.home.packages = with pkgs; [
|
||||
rofi-wayland
|
||||
pwvucontrol
|
||||
|
@ -20,12 +21,7 @@
|
|||
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
"$scrPath" = "~/nix/modules/desktop/hyprland/scirpts";
|
||||
|
||||
dwindle = {
|
||||
pseudotile = true;
|
||||
preserve_split = true;
|
||||
};
|
||||
"$sciPath" = "~/nix/modules/hyprland/hyprland/scripts";
|
||||
|
||||
cursor = {
|
||||
inactive_timeout = "3";
|
||||
|
@ -49,7 +45,7 @@
|
|||
|
||||
exec-once = [
|
||||
"ags"
|
||||
"sh ~/nix/modules/desktop/hyprland/scripts/hypridle.sh"
|
||||
"sh $sciPath/hypridle.sh"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
|
@ -79,11 +75,11 @@
|
|||
"$mod, A, exec, rofi -show drun"
|
||||
"$mod, F, exec, freetube"
|
||||
"$mod, C, exec, hyprpicker -a"
|
||||
"$mod+Shift, W, exec, sh ~/nix/modules/desktop/hyprland/scripts/vm.sh"
|
||||
"$mod+Shift, W, exec, sh $sciPath/vm.sh"
|
||||
"$mod+Shift, Z, exec, grim - | swappy -f -"
|
||||
"$mod, Z, exec, sh ~/nix/modules/desktop/hyprland/scripts/screen.sh"
|
||||
"$mod, Z, exec, sh $sciPath/screen.sh"
|
||||
"$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy"
|
||||
"$mod, O, exec, sh ~/nix/modules/desktop/hyprland/scripts/mpv.sh"
|
||||
"$mod, O, exec, sh $sciPath/mpv.sh"
|
||||
|
||||
# controles
|
||||
"$mod, Q, killactive"
|
||||
|
@ -91,14 +87,14 @@
|
|||
"$mod, R, togglesplit"
|
||||
"$mod+shift, S, exec, systemctl suspend"
|
||||
"$mod+shift, M, exit, hyprland"
|
||||
"$mod, G, exec, sh ~/nix/modules/desktop/hyprland/scripts/gamemode.sh"
|
||||
"$mod+shift, B, exec, sh ~/nix/modules/desktop/hyprland/scripts/ags.sh"
|
||||
"$mod, up, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -i"
|
||||
"$mod, down, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -d"
|
||||
"$mod, G, exec, sh $sciPath/gamemode.sh"
|
||||
"$mod+shift, B, exec, sh $sciPath/ags.sh"
|
||||
"$mod, up, exec, sh $sciPath/volume.sh -i"
|
||||
"$mod, down, exec, sh $sciPath/volume.sh -d"
|
||||
"$mod, P, exec, hyprctl dispatch togglefloating && hyprctl dispatch pin"
|
||||
|
||||
# cmus
|
||||
"$mod, D, exec, sh ~/nix/modules/desktop/hyprland/scripts/cmus.sh"
|
||||
"$mod, D, exec, sh $sciPath/cmus.sh"
|
||||
"$mod, space, exec, playerctl play-pause"
|
||||
"$mod, comma, exec, playerctl previous"
|
||||
"$mod, period, exec, playerctl next"
|
||||
|
@ -157,10 +153,10 @@
|
|||
bindl = [
|
||||
", XF86MonBrightnessUp, exec, brightnessctl set +10%"
|
||||
", XF86MonBrightnessDown, exec, brightnessctl set 10%-"
|
||||
", XF86AudioRaiseVolume, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -i"
|
||||
", XF86AudioLowerVolume, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -d"
|
||||
", XF86AudioMute, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -m"
|
||||
", XF86AudioMicMute, exec, sh ~/nix/modules/desktop/hyprland/scripts/volume.sh -t"
|
||||
", XF86AudioRaiseVolume, exec, sh $sciPath/volume.sh -i"
|
||||
", XF86AudioLowerVolume, exec, sh $sciPath/volume.sh -d"
|
||||
", XF86AudioMute, exec, sh $sciPath/volume.sh -m"
|
||||
", XF86AudioMicMute, exec, sh $sciPath/volume.sh -t"
|
||||
];
|
||||
|
||||
general = {
|
||||
|
|
|
@ -4,5 +4,6 @@
|
|||
./gdm
|
||||
./polkit
|
||||
./syncthing
|
||||
./virt
|
||||
];
|
||||
}
|
||||
|
|
5
modules/services/virt/default.nix
Normal file
5
modules/services/virt/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
virtualisation.docker.rootless.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.waydroid.enable = true;
|
||||
}
|
|
@ -10,12 +10,6 @@
|
|||
(nerdfonts.override {fonts = ["FiraCode"];})
|
||||
];
|
||||
|
||||
virtualisation.docker.rootless.enable = true;
|
||||
virtualisation.docker.enable = true;
|
||||
virtualisation.waydroid.enable = true;
|
||||
programs.hyprland.enable = true;
|
||||
programs.zsh.enable = true;
|
||||
users.defaultUserShell = pkgs.zsh;
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
programs.nix-ld.enable = true;
|
||||
services.printing.enable = true;
|
||||
|
|
Loading…
Reference in a new issue