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