Compare commits

..

No commits in common. "ec117d1dac9327d3ea4eebfe1da9bfef53ae759d" and "8a1731ff35c72116d00044ab1021d24012cda415" have entirely different histories.

View file

@ -1,8 +1,4 @@
{ {pkgs, ...}: {
lib,
pkgs,
...
}: {
imports = [ imports = [
../../nixos/profiles/opt-in/mihomo ../../nixos/profiles/opt-in/mihomo
../../nixos/profiles/opt-in/wireless ../../nixos/profiles/opt-in/wireless
@ -120,46 +116,36 @@
}; };
}; };
console = {
earlySetup = true;
keyMap = "dvorak";
};
services.greetd = {
enable = true;
settings.default_session.command = "${lib.getExe pkgs.greetd.tuigreet} --cmd sway";
};
# polkit # polkit
security.polkit.enable = true; security.polkit.enable = true;
systemd.user.services.polkit-gnome-authentication-agent-1 = { # systemd.user.services.polkit-gnome-authentication-agent-1 = {
description = "polkit-gnome-authentication-agent-1"; # description = "polkit-gnome-authentication-agent-1";
wantedBy = ["graphical-session.target"]; # wantedBy = ["graphical-session.target"];
wants = ["graphical-session.target"]; # wants = ["graphical-session.target"];
after = ["graphical-session.target"]; # after = ["graphical-session.target"];
serviceConfig = { # serviceConfig = {
Type = "simple"; # Type = "simple";
ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; # ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1";
Restart = "on-failure"; # Restart = "on-failure";
RestartSec = 1; # RestartSec = 1;
TimeoutStopSec = 10; # TimeoutStopSec = 10;
}; # };
}; # };
security.pam.services.swaylock = {}; # security.pam.services.swaylock = {};
xdg.portal = { # xdg.portal = {
enable = true; # enable = true;
xdgOpenUsePortal = true; # xdgOpenUsePortal = true;
wlr.enable = true; # wlr.enable = true;
extraPortals = [pkgs.xdg-desktop-portal-gtk]; # extraPortals = [pkgs.xdg-desktop-portal-gtk];
# https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/blob/main/sway-portals.conf # # https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/blob/main/sway-portals.conf
config."sway" = { # config."sway" = {
default = "gtk"; # default = "gtk";
"org.freedesktop.impl.portal.ScreenCast" = "wlr"; # "org.freedesktop.impl.portal.ScreenCast" = "wlr";
"org.freedesktop.impl.portal.Screenshot" = "wlr"; # "org.freedesktop.impl.portal.Screenshot" = "wlr";
"org.freedesktop.impl.portal.Inhibit" = "none"; # "org.freedesktop.impl.portal.Inhibit" = "none";
}; # };
}; # };
### Removes debounce time ### Removes debounce time
# https://www.reddit.com/r/linux_gaming/comments/ku6gth # https://www.reddit.com/r/linux_gaming/comments/ku6gth