Compare commits
9 commits
794e72fc6b
...
49d373ee4d
Author | SHA1 | Date | |
---|---|---|---|
49d373ee4d | |||
3ac56e531d | |||
efc00f040a | |||
3bf0342357 | |||
ca1b4055bd | |||
3b285cafa6 | |||
bcb1cdf3b7 | |||
c4c9bf9099 | |||
7e8aa89ad3 |
|
@ -23,6 +23,7 @@ in
|
|||
"zenpower"
|
||||
];
|
||||
boot.kernelParams = [
|
||||
"amdgpu.dcdebugmask=0x10" # amdgpu undervolting bug
|
||||
"video=DP-1:1920x1080@144"
|
||||
# hibernation
|
||||
"resume=LABEL=BTRFS_ROOT" # findmnt -o LABEL --noheadings /swap/
|
||||
|
|
|
@ -44,10 +44,12 @@
|
|||
--replace ZWLR_LAYER_SHELL_V1_LAYER_TOP ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY
|
||||
'';
|
||||
});
|
||||
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||
patches = old.patches
|
||||
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
||||
});
|
||||
mySway = prev.sway.override {
|
||||
sway-unwrapped = prev.sway-unwrapped.overrideAttrs (old: {
|
||||
patches = old.patches
|
||||
++ [ ../patches/sway/fix-hide_cursor-clearing-focus.patch ];
|
||||
});
|
||||
};
|
||||
mangohud = prev.mangohud.overrideAttrs (o: {
|
||||
patches = o.patches ++ [
|
||||
(prev.fetchpatch {
|
||||
|
|
Binary file not shown.
|
@ -59,7 +59,7 @@
|
|||
|
||||
security.rtkit.enable = true;
|
||||
services.openssh = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
ports = [ 9022 ];
|
||||
settings = {
|
||||
PermitRootLogin = "no";
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
instances.default = {
|
||||
enable = true;
|
||||
name = "monolith";
|
||||
url = "https://git.lelgenio.xyz";
|
||||
url = "https://git.lelgenio.com";
|
||||
tokenFile = config.age.secrets.monolith-forgejo-runner-token.path;
|
||||
labels = [
|
||||
# provide a debian base with nodejs for actions
|
||||
|
|
2
update
2
update
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
nix flake update --verbose --print-build-logs
|
||||
./switch
|
||||
exec ./switch "$@"
|
||||
|
|
|
@ -4,6 +4,7 @@ in {
|
|||
config = {
|
||||
programs.git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
extraConfig = {
|
||||
user = {
|
||||
name = username;
|
||||
|
|
|
@ -21,6 +21,7 @@ in
|
|||
|
||||
wayland.windowManager.sway = {
|
||||
enable = true;
|
||||
package = pkgs.mySway;
|
||||
config = {
|
||||
bars = [ ];
|
||||
|
||||
|
@ -52,7 +53,7 @@ in
|
|||
};
|
||||
output = {
|
||||
"*" = {
|
||||
adaptive_sync = "off";
|
||||
adaptive_sync = "enabled";
|
||||
bg = "${theme.background} fill";
|
||||
mode = "1920x1080@144.000Hz";
|
||||
};
|
||||
|
@ -89,6 +90,7 @@ in
|
|||
exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
|
||||
exec swaymsg workspace 2
|
||||
exec_always systemctl --user restart waybar.service
|
||||
exec corectrl --minimize-systray
|
||||
'';
|
||||
};
|
||||
services.gammastep = {
|
||||
|
@ -104,7 +106,7 @@ in
|
|||
xdg.configFile."OpenTabletDriver/settings.json".source = ./open-tablet-driver.json;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
sway
|
||||
mySway
|
||||
swaybg
|
||||
swaylock
|
||||
wdisplays
|
||||
|
|
|
@ -54,6 +54,7 @@ in
|
|||
};
|
||||
floating = {
|
||||
criteria = [
|
||||
{ class = "Godot"; }
|
||||
{ class = "file_picker"; }
|
||||
{ app_id = "file_picker"; }
|
||||
{ app_id = "wdisplays"; }
|
||||
|
|
Loading…
Reference in a new issue