hope this works
This commit is contained in:
43
modules/sway/default.nix
Normal file
43
modules/sway/default.nix
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
wl-clipboard # Copy/Paste functionality.
|
||||
mako # Notification utility.
|
||||
];
|
||||
|
||||
# Enables Gnome Keyring to store secrets for applications.
|
||||
services.gnome.gnome-keyring.enable = true;
|
||||
|
||||
# Enable Sway.
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
extraPackages = [
|
||||
pkgs.foot
|
||||
pkgs.swayidle
|
||||
pkgs.swaylock
|
||||
pkgs.wmenu
|
||||
pkgs.wl-clipboard
|
||||
pkgs.mako
|
||||
pkgs.kdePackages.spectacle
|
||||
pkgs.kdePackages.kate
|
||||
pkgs.kdePackages.filelight
|
||||
inputs.glide.packages.${pkgs.stdenv.hostPlatform.system}.default
|
||||
];
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd sway";
|
||||
user = "laythe";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user