Compare commits

..

9 commits

Author SHA1 Message Date
Leonardo Eugênio 49d373ee4d Revert "sshd: disable until xz is secure"
This reverts commit b0d1b2fbff.
2024-05-25 18:58:28 -03:00
Leonardo Eugênio 3ac56e531d sway: don't require rebuilding sway dependencies 2024-05-25 13:38:40 -03:00
Leonardo Eugênio efc00f040a sway: set godot windows to floating 2024-05-25 01:04:19 -03:00
Leonardo Eugênio 3bf0342357 sway: autostart corectrl 2024-05-25 01:04:09 -03:00
Leonardo Eugênio ca1b4055bd git: enable lfs 2024-05-25 01:03:51 -03:00
Leonardo Eugênio 3b285cafa6 update: pass arguments to ./switch 2024-05-19 15:58:51 -03:00
Leonardo Eugênio bcb1cdf3b7 monolith: add gpu crash work-around 2024-05-19 01:10:31 -03:00
Leonardo Eugênio c4c9bf9099 sway: enable adaptive sync 2024-05-19 01:10:21 -03:00
Leonardo Eugênio 7e8aa89ad3 forgejo-runner: update runner token and url 2024-05-16 01:17:57 -03:00
9 changed files with 16 additions and 9 deletions

View file

@ -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/

View file

@ -44,10 +44,12 @@
--replace ZWLR_LAYER_SHELL_V1_LAYER_TOP ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY
'';
});
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 {

View file

@ -59,7 +59,7 @@
security.rtkit.enable = true;
services.openssh = {
enable = false;
enable = true;
ports = [ 9022 ];
settings = {
PermitRootLogin = "no";

View file

@ -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
View file

@ -1,4 +1,4 @@
#!/bin/sh
nix flake update --verbose --print-build-logs
./switch
exec ./switch "$@"

View file

@ -4,6 +4,7 @@ in {
config = {
programs.git = {
enable = true;
lfs.enable = true;
extraConfig = {
user = {
name = username;

View file

@ -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

View file

@ -54,6 +54,7 @@ in
};
floating = {
criteria = [
{ class = "Godot"; }
{ class = "file_picker"; }
{ app_id = "file_picker"; }
{ app_id = "wdisplays"; }