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 = "