From 786c9140e18a600f5b4186453280b5009a2d7c2e Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 6 Jan 2024 21:19:45 +0900 Subject: [PATCH] Test --- flake.nix | 4 ++-- home-manager/common/desktops/hyprland/colors/gruvbox.nix | 8 ++++++++ home-manager/common/desktops/hyprland/colors/stylix.nix | 3 ++- nixos/common/desktops/hyprland/colors/gruvbox.nix | 8 ++++++++ nixos/common/desktops/hyprland/colors/stylix.nix | 3 ++- 5 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 home-manager/common/desktops/hyprland/colors/gruvbox.nix create mode 100644 nixos/common/desktops/hyprland/colors/gruvbox.nix diff --git a/flake.nix b/flake.nix index 2ceac23d..448b86f6 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,7 @@ framework-server = libx.mkHost { hostname = "framework-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "plasma6"; gpu = "nvidia"; }; - nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; color = "stylix"; }; + nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; color = "gruvbox"; }; backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; platform = "aarch64-linux"; type = "small"; }; piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; platform = "aarch64-linux"; type = "small"; }; quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; }; @@ -63,7 +63,7 @@ "albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "plasma6"; }; - "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; color = "stylix"; }; + "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; color = "gruvbox"; }; "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@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; }; diff --git a/home-manager/common/desktops/hyprland/colors/gruvbox.nix b/home-manager/common/desktops/hyprland/colors/gruvbox.nix new file mode 100644 index 00000000..3119f666 --- /dev/null +++ b/home-manager/common/desktops/hyprland/colors/gruvbox.nix @@ -0,0 +1,8 @@ +{lib, inputs, pkgs, gpu, platform, color, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; + polarity = "dark"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-hard.yaml"; + }; +} \ No newline at end of file diff --git a/home-manager/common/desktops/hyprland/colors/stylix.nix b/home-manager/common/desktops/hyprland/colors/stylix.nix index d69f7f2a..a8384507 100644 --- a/home-manager/common/desktops/hyprland/colors/stylix.nix +++ b/home-manager/common/desktops/hyprland/colors/stylix.nix @@ -1,6 +1,7 @@ {lib, inputs, pkgs, gpu, platform, color, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes stylix = { - image = /etc/nixos/git/wallpapers/${color}/wallpaper2.jpg; + image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; polarity = "dark"; base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml"; }; diff --git a/nixos/common/desktops/hyprland/colors/gruvbox.nix b/nixos/common/desktops/hyprland/colors/gruvbox.nix new file mode 100644 index 00000000..3119f666 --- /dev/null +++ b/nixos/common/desktops/hyprland/colors/gruvbox.nix @@ -0,0 +1,8 @@ +{lib, inputs, pkgs, gpu, platform, color, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes + stylix = { + image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; + polarity = "dark"; + base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-material-dark-hard.yaml"; + }; +} \ No newline at end of file diff --git a/nixos/common/desktops/hyprland/colors/stylix.nix b/nixos/common/desktops/hyprland/colors/stylix.nix index d69f7f2a..a8384507 100644 --- a/nixos/common/desktops/hyprland/colors/stylix.nix +++ b/nixos/common/desktops/hyprland/colors/stylix.nix @@ -1,6 +1,7 @@ {lib, inputs, pkgs, gpu, platform, color, ...}: { + # Themes https://github.com/tinted-theming/base16-schemes stylix = { - image = /etc/nixos/git/wallpapers/${color}/wallpaper2.jpg; + image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; polarity = "dark"; base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml"; };