impliment sway
might be easier for home-manager
This commit is contained in:
parent
f6bacdedbb
commit
ad746da096
2 changed files with 17 additions and 1 deletions
|
@ -57,7 +57,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
default_session = {
|
default_session = {
|
||||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --asterisks --cmd Hyprland";
|
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time -r --asterisks --remember-session --cmd Hyprland";
|
||||||
user = "greeter";
|
user = "greeter";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
16
home.nix
16
home.nix
|
@ -183,6 +183,22 @@
|
||||||
#theme = "powerlevel10k/powerlevel10k";
|
#theme = "powerlevel10k/powerlevel10k";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.swaylock.enable = false;
|
||||||
|
wayland.windowManager.sway = {
|
||||||
|
enable = true;
|
||||||
|
extraOptions = [ "--unsupported-gpu" ];
|
||||||
|
config = rec {
|
||||||
|
modifier = "Mod1";
|
||||||
|
# Use kitty as default terminal
|
||||||
|
terminal = "kitty";
|
||||||
|
startup = [
|
||||||
|
# Launch Firefox on start
|
||||||
|
{command = "wayvnc 100.120.210.58";}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.stateVersion = "23.05";
|
home.stateVersion = "23.05";
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue