furthre config on laptop

This commit is contained in:
2025-07-14 15:12:21 +02:00
parent 5b2b64611e
commit e2f428bc64
54 changed files with 1479 additions and 87 deletions
+47
View File
@@ -0,0 +1,47 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
xwayland
sway
swaylock
swayidle
nwg-displays
# screenshot stuff
grim
slurp
wl-clipboard
mako
];
programs.dconf.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
user = "greeter";
};
};
};
# x compatibility
programs.xwayland.enable = true;
# enable polkit to use home manager sway config
security.polkit.enable = true;
# for swaylock
security.pam.services.swaylock = {};
# keyring setup
programs.seahorse.enable = true;
services.gnome.gnome-keyring.enable = true;
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
}