Update nixos-desktop to gnome
This commit is contained in:
parent
0db7be2eaf
commit
2b0008cb3c
4 changed files with 18 additions and 71 deletions
|
@ -50,7 +50,7 @@
|
||||||
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small"; };
|
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; type = "small"; };
|
||||||
framework-server = libx.mkHost { hostname = "framework-server"; };
|
framework-server = libx.mkHost { hostname = "framework-server"; };
|
||||||
nuc-server = libx.mkHost { hostname = "nuc-server"; };
|
nuc-server = libx.mkHost { hostname = "nuc-server"; };
|
||||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "plasma6"; gpu = "nvidia"; };
|
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "gnome"; gpu = "nvidia"; };
|
||||||
nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "green"; };
|
nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "green"; };
|
||||||
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
||||||
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
||||||
|
@ -60,7 +60,7 @@
|
||||||
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; };
|
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; };
|
||||||
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
|
"albert@framework-server" = libx.mkHome { hostname = "framework-server"; };
|
||||||
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
|
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
|
||||||
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; };
|
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "gnome"; };
|
||||||
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "green"; };
|
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "green"; };
|
||||||
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
"albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
||||||
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
"albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; platform = "aarch64-linux"; type = "small"; };
|
||||||
|
|
|
@ -1,63 +1,4 @@
|
||||||
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
|
# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
|
||||||
{ lib, hostname, username, ... }: with lib.hm.gvariant;
|
{ lib, hostname, username, ... }: with lib.hm.gvariant; {
|
||||||
let
|
|
||||||
# General Theming
|
|
||||||
font = "FontAwesome Bold 11";
|
|
||||||
font-doc = "FontAwesome Regular 11";
|
|
||||||
font-mono = "JetBrainsMono Nerd Font Propo Medium 11";
|
|
||||||
|
|
||||||
# Day Variant
|
|
||||||
day-wallpaper = "file:///etc/nixos/git/wallpapers/default/wallpaper1.png";
|
|
||||||
day-gtk-theme = "Fluent-Light-compact";
|
|
||||||
day-shell-theme = "Fluent-compact";
|
|
||||||
day-icon-theme = "Papirus";
|
|
||||||
|
|
||||||
# Night Variant
|
|
||||||
night-wallpaper = "file:///etc/nixos/git/wallpapers/default/wallpaper1.png";
|
|
||||||
night-gtk-theme = "Fluent-Dark-compact";
|
|
||||||
night-shell-theme = "Fluent-Dark-compact";
|
|
||||||
night-icon-theme = "Papirus-Dark";
|
|
||||||
in {
|
|
||||||
# Gnome GTK Settings
|
|
||||||
gtk.theme = "${night-gtk-theme}";
|
|
||||||
|
|
||||||
# Gnome DCONF Settings
|
|
||||||
dconf.settings = {
|
|
||||||
"org/gnome/desktop/background" = {
|
|
||||||
picture-uri = "${day-wallpaper}";
|
|
||||||
picture-uri-dark = "${night-wallpaper}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"org/gnome/shell/extensions/nightthemeswitcher/gtk-variants" = {
|
|
||||||
enabled = true;
|
|
||||||
day = "${day-gtk-theme}";
|
|
||||||
night = "${night-gtk-theme}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"org/gnome/shell/extensions/nightthemeswitcher/icon-variants" = {
|
|
||||||
enabled = true;
|
|
||||||
day = "${day-icon-theme}";
|
|
||||||
night = "${night-icon-theme}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"org/gnome/shell/extensions/nightthemeswitcher/shell-variants" = {
|
|
||||||
enabled = true;
|
|
||||||
day = "${day-shell-theme}";
|
|
||||||
night = "${night-shell-theme}";
|
|
||||||
};
|
|
||||||
|
|
||||||
"org/gnome/desktop/interface" = {
|
|
||||||
clock-show-date = true;
|
|
||||||
clock-show-weekday = false;
|
|
||||||
color-scheme = "prefer-light";
|
|
||||||
font-antialiasing = "rgba";
|
|
||||||
font-hinting = "slight";
|
|
||||||
gtk-theme = "${day-gtk-theme}";
|
|
||||||
icon-theme = "${night-icon-theme}";
|
|
||||||
monospace-font-name = "${font-mono}";
|
|
||||||
font-name = "${font}";
|
|
||||||
document-font-name = "${font-doc}";
|
|
||||||
show-battery-percentage = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Gnome Extensions
|
# Gnome Extensions
|
||||||
gnomeExtensions.tiling-assistant
|
gnomeExtensions.forge
|
||||||
gnomeExtensions.dash-to-dock
|
gnomeExtensions.dash-to-dock
|
||||||
gnomeExtensions.blur-my-shell
|
gnomeExtensions.blur-my-shell
|
||||||
gnomeExtensions.vitals
|
gnomeExtensions.vitals
|
||||||
|
@ -82,19 +82,20 @@
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
dconf2nix # https://github.com/gvolpe/dconf2nix
|
dconf2nix # https://github.com/gvolpe/dconf2nix
|
||||||
# Tweak libadwaita themes
|
# Tweak libadwaita themes
|
||||||
# gradience
|
gradience
|
||||||
# adw-gtk3
|
adw-gtk3
|
||||||
|
|
||||||
gnome.gnome-session
|
gnome.gnome-session
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
# Gnome Themes
|
# Gnome Themes
|
||||||
./themes/gruvbox.nix
|
./themes/arc.nix
|
||||||
./themes/tokyo-night.nix
|
# ./themes/gruvbox.nix
|
||||||
./themes/nordic.nix
|
# ./themes/tokyo-night.nix
|
||||||
./themes/vimix.nix
|
# ./themes/nordic.nix
|
||||||
./themes/fluent.nix
|
# ./themes/vimix.nix
|
||||||
|
# ./themes/fluent.nix
|
||||||
# You may need to edit which theme you're using in dconf.nix if you remove themes
|
# You may need to edit which theme you're using in dconf.nix if you remove themes
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
5
nixos/common/desktops/gnome/themes/arc.nix
Normal file
5
nixos/common/desktops/gnome/themes/arc.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ config, pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
arc-theme
|
||||||
|
];
|
||||||
|
}
|
Loading…
Reference in a new issue