Switch to hyprland
This commit is contained in:
parent
37421bcc12
commit
f1be4c1fc5
@ -37,9 +37,9 @@
|
|||||||
yazi.enable = true;
|
yazi.enable = true;
|
||||||
emacs.enable = true;
|
emacs.enable = true;
|
||||||
|
|
||||||
i3.enable = true;
|
# i3.enable = true;
|
||||||
|
|
||||||
# hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
nix-helper.enable = true;
|
nix-helper.enable = true;
|
||||||
|
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
@ -94,7 +94,7 @@
|
|||||||
## My scripts
|
## My scripts
|
||||||
pkgs.frajul.deploy-to-pianopi
|
pkgs.frajul.deploy-to-pianopi
|
||||||
pkgs.frajul.edit-config
|
pkgs.frajul.edit-config
|
||||||
# pkgs.frajul.open-messaging
|
pkgs.frajul.open-messaging
|
||||||
]
|
]
|
||||||
++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; }) [
|
++ lib.lists.concatMap (packages-list-file: import packages-list-file { inherit pkgs; }) [
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
|
@ -86,7 +86,7 @@ in
|
|||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
# Whether to enable Hyprland wayland compositor
|
# Whether to enable Hyprland wayland compositor
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.hyprland.packages."${pkgs.system}".hyprland;
|
# package = inputs.hyprland.packages."${pkgs.system}".hyprland; # does only work with nixos-unstable
|
||||||
|
|
||||||
# The hyprland package to use (simplifies use of plugins)
|
# The hyprland package to use (simplifies use of plugins)
|
||||||
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
# package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
||||||
@ -99,7 +99,10 @@ in
|
|||||||
# Make PATH available to systemd services
|
# Make PATH available to systemd services
|
||||||
systemd.variables = [ "--all" ];
|
systemd.variables = [ "--all" ];
|
||||||
|
|
||||||
plugins = [ inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars ];
|
plugins = with pkgs; [
|
||||||
|
# inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars # does only work with nixos-unstable
|
||||||
|
hyprlandPlugins.hyprbars
|
||||||
|
];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
@ -136,7 +139,7 @@ in
|
|||||||
|
|
||||||
# Master layout
|
# Master layout
|
||||||
master = {
|
master = {
|
||||||
new_is_master = false;
|
new_status = "slave";
|
||||||
no_gaps_when_only = 2; # with border
|
no_gaps_when_only = 2; # with border
|
||||||
mfact = 0.5; # Do not make master bigger
|
mfact = 0.5; # Do not make master bigger
|
||||||
};
|
};
|
||||||
@ -201,8 +204,8 @@ in
|
|||||||
|
|
||||||
# opening applications
|
# opening applications
|
||||||
"$mod, D, exec, wofi --show drun,run"
|
"$mod, D, exec, wofi --show drun,run"
|
||||||
"$mod, E, exec, thunar"
|
"$mod, E, exec, pcmanfm"
|
||||||
"$mod, Return, exec, alacritty"
|
"$mod, Return, exec, wezterm"
|
||||||
"$mod, B, exec, firefox"
|
"$mod, B, exec, firefox"
|
||||||
"$mod, C, exec, qalculate-gtk"
|
"$mod, C, exec, qalculate-gtk"
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
programs.hyprland.enable = true;
|
programs.hyprland.enable = true;
|
||||||
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
# programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland; # does only work with nixos-unstable
|
||||||
programs.hyprland.xwayland.enable = true;
|
programs.hyprland.xwayland.enable = true;
|
||||||
security.pam.services.hyprlock = { };
|
security.pam.services.hyprlock = { };
|
||||||
};
|
};
|
||||||
|
@ -73,8 +73,8 @@
|
|||||||
locales.enable = true;
|
locales.enable = true;
|
||||||
# thunar.enable = true;
|
# thunar.enable = true;
|
||||||
pcmanfm.enable = true;
|
pcmanfm.enable = true;
|
||||||
# wayland.enable = true;
|
wayland.enable = true;
|
||||||
# hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
x11.enable = true;
|
x11.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -108,7 +108,6 @@
|
|||||||
|
|
||||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||||
|
|
||||||
# services.displayManager.sddm.wayland.enable = true;
|
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
services.upower.enable = true;
|
services.upower.enable = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user