nixos-config/sets/sway.nix
Artemis Tosini d1728f9c73
flake.lock: Update
Flake lock file updates:

• Updated input 'artemist':
    'git+https://git.mildlyfunctional.gay/artemist/packages.git?ref=refs/heads/canon&rev=6656b07f2cbd2e5343afdd82eb9967c4a3f1bb0f' (2024-07-10)
  → 'git+https://git.mildlyfunctional.gay/artemist/packages.git?ref=refs/heads/canon&rev=01959e74e880876233f75658a3d763d4b46560b5' (2024-07-15)
• Removed input 'artemist/utils'
• Updated input 'fonts':
    'git+https://git.mildlyfunctional.gay/artemist/fonts.git?ref=refs/heads/canon&rev=af26c827792d79cc728134ad508ddab4bd28c038' (2024-02-21)
  → 'git+https://git.mildlyfunctional.gay/artemist/fonts.git?ref=refs/heads/canon&rev=587fad82e8315cea705cfdcae1328e0da3756555' (2024-07-15)
• Removed input 'fonts/flake-utils'
• Updated input 'lix':
    'a8f443d960.tar.gz?narHash=sha256-YZ7043PFS6LalHAyGeO7qRLeZIevwjHRbbMkpixjwhM%3D' (2024-07-12)
  → '1eb5d22132.tar.gz?narHash=sha256-fueWQn/bzWcYeR01UWAhjMejgpQc2mjSPt3gb5tpoMs%3D' (2024-07-14)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/7e7c39ea35c5cdd002cd4588b03a3fb9ece6fad9' (2024-07-12)
  → 'github:nixos/nixpkgs/693bc46d169f5af9c992095736e82c3488bf7dbb' (2024-07-14)
• Updated input 'nixvim':
    'github:nix-community/nixvim/ac9a1cbf9c7145687e66a1c033d68fc72eca3fd8' (2024-07-13)
  → 'github:nix-community/nixvim/b9ed90003273f0a75151b32948e16b44891f403c' (2024-07-15)
2024-07-15 20:36:32 +00:00

56 lines
1 KiB
Nix

{ pkgs, inputs, ... }:
{
imports = [
./fonts.nix
inputs.private.nixosModules.sway
];
security.polkit.enable = true;
services = {
accounts-daemon.enable = true;
logind = {
lidSwitch = "suspend";
powerKey = "suspend";
powerKeyLongPress = "poweroff";
};
};
xdg.portal = {
enable = true;
wlr.enable = true;
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
config = {
common.default = [ "gtk" ];
sway.default = [
"wlr"
"gtk"
];
};
};
environment.systemPackages = with pkgs; [
dex
glib
grim
imagemagick
libnotify
mako
polkit_gnome
slurp
swayidle
swaylock
waypipe
wf-recorder
wl-clipboard
wofi
wofi-emoji
wtype
xdg-user-dirs
xdg_utils
xsettingsd
];
hardware.graphics.enable = true;
security.pam.services.swaylock = { };
programs.dconf.enable = true;
programs.xwayland.enable = true;
home-manager.users.artemis.imports = [ ../home/sway.nix ];
}