Re-add GNOME to fix the thunar theme and see if it
...fixes autorandr
This commit is contained in:
parent
3ae1d8d51d
commit
e63150e278
lib/nixos
|
@ -6,22 +6,6 @@
|
||||||
}:
|
}:
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
let
|
||||||
configure-gtk = pkgs.writeTextFile {
|
|
||||||
name = "configure-gtk";
|
|
||||||
destination = "/bin/configure-gtk";
|
|
||||||
executable = true;
|
|
||||||
text =
|
|
||||||
let
|
|
||||||
schema = pkgs.gsettings-desktop-schemas;
|
|
||||||
datadir = "${schema}/share/gsettings-schemas/${schema.name}";
|
|
||||||
in
|
|
||||||
''
|
|
||||||
export XDG_DATA_DIRS=${datadir}:$XDG_DATA_DIRS
|
|
||||||
gnome_schema=org.gnome.desktop.interface
|
|
||||||
gsettings set $gnome_schema gtk-theme 'Breeze Dark'
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
theme = import "${self}/lib/theme" { inherit pkgs; };
|
theme = import "${self}/lib/theme" { inherit pkgs; };
|
||||||
|
|
||||||
username = "opdavies";
|
username = "opdavies";
|
||||||
|
@ -164,7 +148,6 @@ in
|
||||||
arandr
|
arandr
|
||||||
backintime
|
backintime
|
||||||
brightnessctl
|
brightnessctl
|
||||||
configure-gtk
|
|
||||||
cpufrequtils
|
cpufrequtils
|
||||||
ffmpegthumbnailer
|
ffmpegthumbnailer
|
||||||
libnotify
|
libnotify
|
||||||
|
|
|
@ -38,8 +38,6 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
(import ./modules/autorandr.nix)
|
|
||||||
|
|
||||||
(import ./modules/awesome.nix {
|
(import ./modules/awesome.nix {
|
||||||
inherit
|
inherit
|
||||||
inputs
|
inputs
|
||||||
|
@ -48,6 +46,8 @@ inputs.nixpkgs.lib.nixosSystem {
|
||||||
username
|
username
|
||||||
;
|
;
|
||||||
})
|
})
|
||||||
|
(import ./modules/autorandr.nix)
|
||||||
|
(import ./modules/gnome.nix)
|
||||||
|
|
||||||
configuration
|
configuration
|
||||||
hardwareConfiguration
|
hardwareConfiguration
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
./modules/alacritty.nix
|
./modules/alacritty.nix
|
||||||
./modules/copyq.nix
|
./modules/copyq.nix
|
||||||
./modules/espanso.nix
|
./modules/espanso.nix
|
||||||
|
./modules/gtk.nix
|
||||||
./modules/feh.nix
|
./modules/feh.nix
|
||||||
./modules/flameshot.nix
|
./modules/flameshot.nix
|
||||||
./modules/gtk.nix
|
./modules/gtk.nix
|
||||||
|
|
5
lib/nixos/modules/gnome.nix
Normal file
5
lib/nixos/modules/gnome.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
services = {
|
||||||
|
xserver.desktopManager.gnome.enable = true;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue