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