desktop selector + choice of desktop on laptop
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./home.nix
|
||||
./system.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
|
||||
settings = {
|
||||
"$mod" = "SUPER";
|
||||
|
||||
bind = [
|
||||
"$mod, Q, exec, ghostty"
|
||||
"$mod, F, exec, brave"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.hyprland.enable = true;
|
||||
services.displayManager.sddm.enable = true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
|
||||
};
|
||||
|
||||
security.polkit.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
hyprland
|
||||
hyprpicker
|
||||
mpvpaper
|
||||
quickshell
|
||||
hyprpolkitagent
|
||||
rofi
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
services.displayManager.sddm.enable = true;
|
||||
|
||||
xdg.portal.enable = true;
|
||||
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.xserver.enable = true;
|
||||
|
||||
services.xserver.desktopManager.xfce.enable = true;
|
||||
services.xserver.displayManager.lightdm.enable = true;
|
||||
}
|
||||
@@ -10,6 +10,9 @@
|
||||
../../modules/development
|
||||
../../modules/networking
|
||||
../../modules/virtualization
|
||||
|
||||
## Desktop Environment
|
||||
../../desktops/hyprland
|
||||
];
|
||||
|
||||
boot = {
|
||||
@@ -48,6 +51,7 @@
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
tpm2-tools
|
||||
brave
|
||||
];
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
@@ -16,6 +16,8 @@
|
||||
neovim
|
||||
btop
|
||||
unzip
|
||||
mpv
|
||||
wl-clipboard
|
||||
];
|
||||
|
||||
nix.gc = {
|
||||
|
||||
Reference in New Issue
Block a user