Foxy fixes

This commit is contained in:
Daniel Flanagan 2024-01-13 14:38:31 -06:00
parent 593530c21f
commit 3b134dc131
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 18 additions and 0 deletions

View file

@ -44,6 +44,7 @@ in {
s = "status"; s = "status";
}; };
# TODO: https://blog.scottlowe.org/2023/12/15/conditional-git-configuration/
extraConfig = { extraConfig = {
push = { push = {
autoSetupRemote = true; autoSetupRemote = true;

View file

@ -24,6 +24,13 @@ in {
programs.steam.enable = true; programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true; programs.steam.remotePlay.openFirewall = true;
environment = {
systemPackages = with pkgs; [
radeontop
sops
];
};
home-manager.users.daniel = { home-manager.users.daniel = {
imports = with outputs.homeManagerModules; [ imports = with outputs.homeManagerModules; [
sway sway
@ -50,8 +57,17 @@ in {
output = { output = {
"BOE 0x0BCA Unknown" = { "BOE 0x0BCA Unknown" = {
mode = "2256x1504@60Hz"; mode = "2256x1504@60Hz";
position = "0,0";
scale = toString scale; scale = toString scale;
}; };
"Dell Inc. DELL U2720Q D3TM623" = {
# desktop left vertical monitor
mode = "1920x1080@60Hz";
# transform = "90";
# scale = "1.5";
position = "${toString (builtins.floor (2256 / scale))},0";
};
}; };
}; };
}; };
@ -113,6 +129,7 @@ in {
lidSwitch = "suspend-then-hibernate"; lidSwitch = "suspend-then-hibernate";
extraConfig = '' extraConfig = ''
HandlePowerKey=suspend-then-hibernate HandlePowerKey=suspend-then-hibernate
HandleLidSwitchDocked=ignore
IdleAction=suspend-then-hibernate IdleAction=suspend-then-hibernate
IdleActionSec=10m IdleActionSec=10m
''; '';