bugfixes
This commit is contained in:
parent
cc7382ac20
commit
c09e7674f4
@ -227,9 +227,9 @@ toplevel@{ moduleWithSystem, ... }: {
|
|||||||
layer = "top";
|
layer = "top";
|
||||||
position = "top";
|
position = "top";
|
||||||
height = 30;
|
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-center = [ "clock#week" "clock#year" "clock#time" ];
|
||||||
modules-right = [ "network" "pulseaudio" "memory" "cpu" "battery" ];
|
modules-right = [ "network" "pulseaudio" "memory" "cpu" "battery" ];
|
||||||
|
|
||||||
|
@ -47,7 +47,16 @@ top@{ moduleWithSystem, ... }: {
|
|||||||
kernel = { realtime = true; packages = pkgs.linuxPackages-rt; };
|
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 = moduleWithSystem (toplevel@{ ... }: perSystem@{ ... }: {
|
||||||
security = {
|
security = {
|
||||||
sudo = { enable = false; execWheelOnly = true; extraRules = [{ groups = [ "wheel" ]; }]; };
|
sudo = { enable = false; execWheelOnly = true; extraRules = [{ groups = [ "wheel" ]; }]; };
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
top@{ inputs, withSystem, ... }: {
|
top@{ inputs, withSystem, ... }: {
|
||||||
flake.overlays.default = final: prev:
|
flake.overlays.default = final: prev:
|
||||||
let system = prev.stdenv.hostPlatform.system; in
|
let system = "x86_64-linux"; in
|
||||||
withSystem system (
|
withSystem system (
|
||||||
{ config, ... }: {
|
{ config, ... }: {
|
||||||
nvim = config.packages.nvim;
|
nvim = config.packages.nvim;
|
||||||
|
Loading…
Reference in New Issue
Block a user