solaire: switch back to gnome (easier to game on than niri)
This commit is contained in:
parent
d166a6c85d
commit
f2ddb413fc
7 changed files with 14 additions and 29 deletions
|
@ -1,8 +1,4 @@
|
||||||
{
|
{
|
||||||
lib,
|
|
||||||
self,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
./terminal
|
./terminal
|
||||||
];
|
];
|
||||||
|
|
|
@ -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"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./browsers.nix
|
./browsers.nix
|
||||||
./gtk.nix
|
|
||||||
./media
|
./media
|
||||||
./xdg.nix
|
./xdg.nix
|
||||||
|
./gtk.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
@ -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" = {
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue