From 2d878c34486115db6573e2da995e1572e36cd8ee Mon Sep 17 00:00:00 2001 From: Lauren Lagarde Date: Tue, 11 Mar 2025 22:35:04 -0500 Subject: [PATCH] Mostly UI tweaks, plus some refactoring --- flake.nix | 9 +++++++-- monitor_configs.nix | 22 ---------------------- programs/polybar.nix | 7 ++++--- secrets/finish.sh | 4 ++++ systems/ll-latitude-e5591.nix | 34 ++++++++++++++++++++++++++++++++-- 5 files changed, 47 insertions(+), 29 deletions(-) create mode 100644 secrets/finish.sh diff --git a/flake.nix b/flake.nix index 4c14c7a..3bcfc54 100644 --- a/flake.nix +++ b/flake.nix @@ -12,8 +12,13 @@ outputs = { self, home-manager, nixpkgs, nixpkgs-unstable, ... }@inputs: let system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; - pkgs-unstable = import nixpkgs-unstable { inherit system; }; + pkgs = import nixpkgs { + inherit system; + config.allowUnfree = true; + }; + pkgs-unstable = import nixpkgs-unstable { + inherit system; + }; in { # Enables all of these be used in a system flake # https://discourse.nixos.org/t/nixos-home-manager-config-where-both-use-flakes/41410/2 diff --git a/monitor_configs.nix b/monitor_configs.nix index b7e6d2b..10e5eee 100644 --- a/monitor_configs.nix +++ b/monitor_configs.nix @@ -76,27 +76,5 @@ i3-msg restart ''; }; - - "latitude/desk" = { - executable = true; - text = '' - xrandr \ - --output eDP-1 --off \ - --output DP-2-2 --mode 3840x2160 --rate 30 --primary \ - --output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 - i3-msg restart - ''; - }; - "latitude/standalone" = { - executable = true; - text = '' - xrandr \ - --output eDP-1 --mode 1920x1080 --primary \ - --output DP-2-1 --off \ - --output DP-2-2 --off \ - --output DP-2-3 --off - i3-msg restart - ''; - }; }; } diff --git a/programs/polybar.nix b/programs/polybar.nix index 20cc5bd..d447ba2 100644 --- a/programs/polybar.nix +++ b/programs/polybar.nix @@ -110,7 +110,7 @@ label-mounted = "%mountpoint%%{F-} %free% of %total%"; label-mounted-foreground = "\${colors.foreground-alt}"; - bar-used-width = 10; + bar-used-width = 5; bar-used-fill = "█"; bar-used-empty = "█"; bar-used-indicator = ""; @@ -203,7 +203,7 @@ format = "