solaire: switch back to gnome (easier to game on than niri)

This commit is contained in:
Anthony Rodriguez 2024-10-15 15:49:53 +02:00
parent d166a6c85d
commit f2ddb413fc
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
7 changed files with 14 additions and 29 deletions

View file

@ -1,8 +1,4 @@
{ {
lib,
self,
...
}: {
imports = [ imports = [
./terminal ./terminal
]; ];

View file

@ -1,22 +1,11 @@
{ {self, ...}: {
self,
inputs,
...
}: {
imports = [ imports = [
"${self}/home/services/udiskie.nix" "${self}/home/services/udiskie.nix"
"${self}/home/programs" "${self}/home/programs"
"${self}/home/programs/niri"
"${self}/home/programs/ags"
"${self}/home/programs/fuzzel.nix"
"${self}/home/programs/swaybg.nix"
"${self}/home/programs/swaylock.nix"
"${self}/home/programs/swayidle.nix"
"${self}/home/terminal/emulators/foot.nix" "${self}/home/terminal/emulators/foot.nix"
"${self}/home/programs/editors/neovim.nix" "${self}/home/programs/editors/neovim.nix"
"${self}/home/programs/editors/helix.nix"
]; ];
} }

View file

@ -1,9 +1,9 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [ imports = [
./browsers.nix ./browsers.nix
./gtk.nix
./media ./media
./xdg.nix ./xdg.nix
./gtk.nix
]; ];
programs = { programs = {

View file

@ -25,7 +25,7 @@
color-scheme = "prefer-dark"; color-scheme = "prefer-dark";
}; };
"org/gnome/desktop/background" = { "org/gnome/desktop/background" = {
picture-uri-dark = "file://" + builtins.toString config.theme.wallpaper; picture-uri-dark = "file://" + builtins.toString config.style.wallpaper;
}; };
"org/gnome/desktop/search-providers" = { "org/gnome/desktop/search-providers" = {

View file

@ -2,13 +2,14 @@
inputs, inputs,
pkgs, pkgs,
config, config,
nixosConfig, osConfig,
lib,
... ...
}: let }: let
isDark = inputs.basix.schemeData.base16.${nixosConfig.style.scheme}.variant == "dark"; isDark = inputs.basix.schemeData.base16.${osConfig.style.scheme}.variant == "dark";
in { in {
home.pointerCursor = { home.pointerCursor = {
inherit (nixosConfig.style.cursorTheme) name package size; inherit (osConfig.style.cursorTheme) name package size;
gtk.enable = true; gtk.enable = true;
x11.enable = true; x11.enable = true;
}; };
@ -34,11 +35,11 @@ in {
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc"; gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
iconTheme = { iconTheme = {
inherit (nixosConfig.style.gtk.iconTheme) name package; inherit (osConfig.style.gtk.iconTheme) name package;
}; };
theme = { theme = lib.mkIf (!osConfig.services.xserver.desktopManager.gnome.enable) {
inherit (nixosConfig.style.gtk.theme) name package; inherit (osConfig.style.gtk.theme) name package;
}; };
}; };
dconf.settings = { dconf.settings = {

View file

@ -55,9 +55,7 @@
++ [ ++ [
./solaire ./solaire
"${mod}/services/greetd.nix" "${mod}/programs/gnome.nix"
"${mod}/programs/niri"
"${mod}/services/gnome.nix"
"${mod}/hardware/nvidia.nix" "${mod}/hardware/nvidia.nix"
"${mod}/programs/games.nix" "${mod}/programs/games.nix"
@ -65,7 +63,7 @@
self.nixosModules.style self.nixosModules.style
{ {
style = { style = {
gtk.enable = true; gtk.enable = false;
wallpaper = ../wallpapers/lucy-edgerunners-wallpaper.jpg; wallpaper = ../wallpapers/lucy-edgerunners-wallpaper.jpg;
}; };
} }

View file

@ -22,6 +22,7 @@
atomix atomix
gnome-contacts gnome-contacts
gnome-initial-setup gnome-initial-setup
gnome-terminal
gnome-music gnome-music
gedit gedit
cheese cheese