From 94b045c01f7b41c7157566bcd7e4ded9433950fb Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 13 Jun 2023 19:51:56 +0100 Subject: [PATCH] style(fmt) --- home-manager/modules/home-manager.nix | 2 +- system/nixos/nixedo/configuration.nix | 27 +++++++++++++++------------ 2 files changed, 16 insertions(+), 13 deletions(-) diff --git a/home-manager/modules/home-manager.nix b/home-manager/modules/home-manager.nix index da0c4cb..5710ff3 100644 --- a/home-manager/modules/home-manager.nix +++ b/home-manager/modules/home-manager.nix @@ -90,7 +90,7 @@ "${modifier}+Escape" = "exec swaylock --daemonize"; "${modifier}+Shift+b" = "exec firefox"; "${modifier}+tab" = "workspace back_and_forth"; - }; + }; menu = "wofi --show run"; modifier = "Mod4"; diff --git a/system/nixos/nixedo/configuration.nix b/system/nixos/nixedo/configuration.nix index 8fb58c0..dbbddcc 100644 --- a/system/nixos/nixedo/configuration.nix +++ b/system/nixos/nixedo/configuration.nix @@ -8,19 +8,22 @@ let nixpkgs = import ../../shared/nixpkgs.nix { }; configure-gtk = pkgs.writeTextFile { - name = "configure-gtk"; - destination = "/bin/configure-gtk"; - executable = true; - text = let + name = "configure-gtk"; + destination = "/bin/configure-gtk"; + executable = true; + text = + let schema = pkgs.gsettings-desktop-schemas; datadir = "${schema}/share/gsettings-schemas/${schema.name}"; - in '' + in + '' export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS gnome_schema=org.gnome.desktop.interface gsettings set $gnome_schema gtk-theme 'Breeze Dark' - ''; + ''; }; -in { +in +{ nixpkgs = nixpkgs; imports = [ @@ -227,10 +230,10 @@ in { ''; }; - system.autoUpgrade = { - allowReboot = true; - enable = true; - flake = "nixedo"; - }; + system.autoUpgrade = { + allowReboot = true; + enable = true; + flake = "nixedo"; + }; }