2022-03-10 18:55:15 +00:00
|
|
|
{ config, pkgs, pkgs-unstable, ... }:
|
2020-11-26 04:20:52 +00:00
|
|
|
{
|
2021-01-10 06:27:22 +00:00
|
|
|
imports = [ ./fonts.nix ];
|
2020-11-26 04:20:52 +00:00
|
|
|
security.polkit.enable = true;
|
|
|
|
services = {
|
|
|
|
accounts-daemon.enable = true;
|
2021-08-25 18:11:39 +00:00
|
|
|
logind.lidSwitch = "suspend";
|
2020-11-26 04:20:52 +00:00
|
|
|
logind.extraConfig = "HandlePowerKey=suspend";
|
|
|
|
};
|
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
|
|
|
extraPortals = with pkgs; [
|
|
|
|
xdg-desktop-portal-gtk
|
|
|
|
xdg-desktop-portal-wlr
|
2020-11-17 01:51:13 +00:00
|
|
|
];
|
2020-11-26 04:20:52 +00:00
|
|
|
};
|
|
|
|
sound.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
dex
|
|
|
|
glib
|
|
|
|
grim
|
|
|
|
imagemagick
|
|
|
|
libnotify
|
|
|
|
mako
|
|
|
|
polkit_gnome
|
|
|
|
slurp
|
2021-08-05 14:01:03 +00:00
|
|
|
waypipe
|
2020-11-26 04:20:52 +00:00
|
|
|
wf-recorder
|
|
|
|
wl-clipboard
|
2022-03-15 22:39:42 +00:00
|
|
|
pkgs-unstable.wofi
|
|
|
|
pkgs-unstable.wofi-emoji
|
2020-11-26 04:20:52 +00:00
|
|
|
xdg-user-dirs
|
|
|
|
xdg_utils
|
|
|
|
xsettingsd
|
2022-03-10 18:55:15 +00:00
|
|
|
pkgs-unstable.swaylock
|
|
|
|
pkgs-unstable.swayidle
|
2020-11-26 04:20:52 +00:00
|
|
|
];
|
2021-08-26 17:12:58 +00:00
|
|
|
|
|
|
|
hardware.opengl.enable = true;
|
|
|
|
security.pam.services.swaylock = { };
|
|
|
|
programs.dconf.enable = true;
|
|
|
|
programs.xwayland.enable = true;
|
|
|
|
home-manager.users.artemis.imports = [ ../home/sway.nix ];
|
2020-11-26 04:20:52 +00:00
|
|
|
}
|