Rename things

This commit is contained in:
iFargle 2024-01-06 21:47:19 +09:00
parent 213250f776
commit 8d217624df
14 changed files with 30 additions and 30 deletions

View file

@ -52,21 +52,21 @@
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 = "plasma6"; gpu = "nvidia"; };
nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; color = "gruvbox"; }; nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "tokyo"; };
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"; };
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; }; quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; };
}; };
homeConfigurations = { homeConfigurations = {
"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 = "plasma6"; };
"albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; color = "gruvbox"; }; "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "tokyo"; };
"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"; };
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; }; "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; };
}; };
deploy.nodes = { deploy.nodes = {
osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; }; osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; };
@ -79,7 +79,7 @@
# quitman-rpi4 = libx.deploy { hostname = "quitman-rpi4"; platform = "aarch64-linux"; }; # quitman-rpi4 = libx.deploy { hostname = "quitman-rpi4"; platform = "aarch64-linux"; };
}; };
imageConfigurations = { imageConfigurations = {
nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; }; nixos-linode-img = libx.mkMinImage { hostname = "nixos-linode-img"; format = "linode"; };
nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; platform = "aarch64-linux"; }; nixos-rpi4-img = libx.mkImage { hostname = "nixos-rpi4-img"; format = "sd-aarch64"; platform = "aarch64-linux"; };
nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; }; nixos-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; };
nixos-iso-desktop = libx.mkImage { hostname = "nixos-iso-desktop"; format = "iso"; desktop = "gnome"; }; nixos-iso-desktop = libx.mkImage { hostname = "nixos-iso-desktop"; format = "iso"; desktop = "gnome"; };

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, platform, color, ...}: { {lib, inputs, pkgs, gpu, platform, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
}; };

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, platform, color, ...}: { {lib, inputs, pkgs, gpu, platform, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
}; };

View file

@ -1,7 +1,7 @@
{ pkgs, inputs, color, ... }: { { pkgs, inputs, theme, ... }: {
imports = [ imports = [
inputs.stylix.homeManagerModules.stylix inputs.stylix.homeManagerModules.stylix
./colors/${color}.nix ./themes/${theme}.nix
./components ./components
./assets/waybar/scripts.nix ./assets/waybar/scripts.nix
]; ];

View file

@ -1,4 +1,4 @@
{ inputs, config, pkgs, color, ... }: { { inputs, config, pkgs, theme, ... }: {
# home.file.".mozilla/firefox/nix-user-profile/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme; # home.file.".mozilla/firefox/nix-user-profile/chrome/firefox-gnome-theme".source = inputs.firefox-gnome-theme;

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, inputs, hostname, platform, username, desktop, color, hmStateVersion, ... }: { { lib, config, pkgs, inputs, hostname, platform, username, desktop, theme, hmStateVersion, ... }: {
imports = [ imports = [
# Doom-Emacs input import # Doom-Emacs input import
inputs.doom-emacs.hmModule inputs.doom-emacs.hmModule

View file

@ -1,4 +1,4 @@
{ color, ... }: { { theme, ... }: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
settings = { settings = {
monitor = ",highrr,auto,1.25"; monitor = ",highrr,auto,1.25";
@ -49,7 +49,7 @@
# Automatic device mounting # Automatic device mounting
udiskie & udiskie &
DIR=/etc/nixos/git/wallpapers/${color} DIR=/etc/nixos/git/wallpapers/${theme}
IMG=`ls $DIR | shuf -n 1` IMG=`ls $DIR | shuf -n 1`
swww img $DIR/$IMG -t random & swww img $DIR/$IMG -t random &

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, inputs, hostname, platform, username, desktop, color, hmStateVersion, ... }: { { lib, config, pkgs, inputs, hostname, platform, username, desktop, theme, hmStateVersion, ... }: {
imports = [ imports = [
# Common configs # Common configs
./common/software/cli/bash.nix ./common/software/cli/bash.nix

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, platform, color, ...}: { {lib, inputs, pkgs, gpu, platform, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
}; };

View file

@ -1,7 +1,7 @@
{lib, inputs, pkgs, gpu, platform, color, ...}: { {lib, inputs, pkgs, gpu, platform, theme, ...}: {
# Themes https://github.com/tinted-theming/base16-schemes # Themes https://github.com/tinted-theming/base16-schemes
stylix = { stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg; image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark"; polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml"; base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
}; };

View file

@ -1,4 +1,4 @@
{lib, inputs, pkgs, gpu, platform, color, ...}: { {lib, inputs, pkgs, gpu, platform, theme, ...}: {
# nixpkgs = { # nixpkgs = {
# overlays = [ # overlays = [
@ -9,7 +9,7 @@
imports = [ imports = [
inputs.stylix.nixosModules.stylix inputs.stylix.nixosModules.stylix
./colors/${color}.nix ./themes/${theme}.nix
]; ];
stylix = { stylix = {

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, color, ... }: { { lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, theme, ... }: {
imports = [ imports = [
# Modules # Modules
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, color, ... }: { { lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, theme, ... }: {
imports = [ imports = [
# Services # Services
./common/services/openssh.nix ./common/services/openssh.nix

View file

@ -1,4 +1,4 @@
{ lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, color, ... }: { { lib, config, pkgs, hostname, stateVersion, username, desktop, gpu, inputs, platform, theme, ... }: {
imports = [ imports = [
# Modules # Modules
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko