From 3b134dc1318e5cb06c46bc0fda5593db05ac459b Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 13 Jan 2024 14:38:31 -0600 Subject: [PATCH] Foxy fixes --- modules/home-manager/git.nix | 1 + nixos/foxtrot.nix | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/modules/home-manager/git.nix b/modules/home-manager/git.nix index a9f9d61..1a556be 100644 --- a/modules/home-manager/git.nix +++ b/modules/home-manager/git.nix @@ -44,6 +44,7 @@ in { s = "status"; }; + # TODO: https://blog.scottlowe.org/2023/12/15/conditional-git-configuration/ extraConfig = { push = { autoSetupRemote = true; diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 9899be6..5112b52 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -24,6 +24,13 @@ in { programs.steam.enable = true; programs.steam.remotePlay.openFirewall = true; + environment = { + systemPackages = with pkgs; [ + radeontop + sops + ]; + }; + home-manager.users.daniel = { imports = with outputs.homeManagerModules; [ sway @@ -50,8 +57,17 @@ in { output = { "BOE 0x0BCA Unknown" = { mode = "2256x1504@60Hz"; + position = "0,0"; 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"; extraConfig = '' HandlePowerKey=suspend-then-hibernate + HandleLidSwitchDocked=ignore IdleAction=suspend-then-hibernate IdleActionSec=10m '';