bugfixes
This commit is contained in:
parent
cc7382ac20
commit
c09e7674f4
@ -227,9 +227,9 @@ toplevel@{ moduleWithSystem, ... }: {
|
||||
layer = "top";
|
||||
position = "top";
|
||||
height = 30;
|
||||
output = [ "eDP-1" "HDMI-A-1" ];
|
||||
output = [ "eDP-1" "HDMI-A-1" "*" ];
|
||||
|
||||
modules-left = [ "sway/workspaces" ];
|
||||
modules-left = [ "sway/workspaces" "sway/mode" ];
|
||||
modules-center = [ "clock#week" "clock#year" "clock#time" ];
|
||||
modules-right = [ "network" "pulseaudio" "memory" "cpu" "battery" ];
|
||||
|
||||
|
@ -47,7 +47,16 @@ top@{ moduleWithSystem, ... }: {
|
||||
kernel = { realtime = true; packages = pkgs.linuxPackages-rt; };
|
||||
};
|
||||
});
|
||||
wayland = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: { hardware.graphics.enable = true; security.pam.services.swaylock = { }; });
|
||||
wayland = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||
hardware.graphics.enable = true;
|
||||
security.pam.services.swaylock = { };
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
wlr = { enable = true; settings = { screencast = { output_name = "HDMI-A-1"; max_fps = 60; }; }; };
|
||||
config.common.default = "*";
|
||||
};
|
||||
});
|
||||
security = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||
security = {
|
||||
sudo = { enable = false; execWheelOnly = true; extraRules = [{ groups = [ "wheel" ]; }]; };
|
||||
|
@ -1,6 +1,6 @@
|
||||
top@{ inputs, withSystem, ... }: {
|
||||
flake.overlays.default = final: prev:
|
||||
let system = prev.stdenv.hostPlatform.system; in
|
||||
let system = "x86_64-linux"; in
|
||||
withSystem system (
|
||||
{ config, ... }: {
|
||||
nvim = config.packages.nvim;
|
||||
|
Loading…
Reference in New Issue
Block a user