style(fmt)

This commit is contained in:
Oliver Davies 2023-06-13 19:51:56 +01:00
parent e2a8f86899
commit 94b045c01f
2 changed files with 16 additions and 13 deletions

View file

@ -90,7 +90,7 @@
"${modifier}+Escape" = "exec swaylock --daemonize"; "${modifier}+Escape" = "exec swaylock --daemonize";
"${modifier}+Shift+b" = "exec firefox"; "${modifier}+Shift+b" = "exec firefox";
"${modifier}+tab" = "workspace back_and_forth"; "${modifier}+tab" = "workspace back_and_forth";
}; };
menu = "wofi --show run"; menu = "wofi --show run";
modifier = "Mod4"; modifier = "Mod4";

View file

@ -8,19 +8,22 @@ let
nixpkgs = import ../../shared/nixpkgs.nix { }; nixpkgs = import ../../shared/nixpkgs.nix { };
configure-gtk = pkgs.writeTextFile { configure-gtk = pkgs.writeTextFile {
name = "configure-gtk"; name = "configure-gtk";
destination = "/bin/configure-gtk"; destination = "/bin/configure-gtk";
executable = true; executable = true;
text = let text =
let
schema = pkgs.gsettings-desktop-schemas; schema = pkgs.gsettings-desktop-schemas;
datadir = "${schema}/share/gsettings-schemas/${schema.name}"; datadir = "${schema}/share/gsettings-schemas/${schema.name}";
in '' in
''
export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
gnome_schema=org.gnome.desktop.interface gnome_schema=org.gnome.desktop.interface
gsettings set $gnome_schema gtk-theme 'Breeze Dark' gsettings set $gnome_schema gtk-theme 'Breeze Dark'
''; '';
}; };
in { in
{
nixpkgs = nixpkgs; nixpkgs = nixpkgs;
imports = [ imports = [
@ -227,10 +230,10 @@ in {
''; '';
}; };
system.autoUpgrade = { system.autoUpgrade = {
allowReboot = true; allowReboot = true;
enable = true; enable = true;
flake = "nixedo"; flake = "nixedo";
}; };
} }