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"; };
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 = "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"; };
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; desktop = "plasma6"; gpu = "nvidia"; };
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"; };
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; platform = "aarch64-linux"; type = "small"; };
quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; platform = "aarch64-linux"; type = "small"; };
};
homeConfigurations = {
"albert@osaka-linode-01" = libx.mkHome { hostname = "osaka-linode-01"; };
"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 = "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"; };
"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@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"; };
};
deploy.nodes = {
osaka-linode-01 = libx.deploy { hostname = "osaka-linode-01"; };
@ -79,7 +79,7 @@
# quitman-rpi4 = libx.deploy { hostname = "quitman-rpi4"; platform = "aarch64-linux"; };
};
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-iso-console = libx.mkImage { hostname = "nixos-iso-console"; format = "iso"; };
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
stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg;
image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark";
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
stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg;
image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark";
base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-cave.yaml";
};

View file

@ -1,7 +1,7 @@
{ pkgs, inputs, color, ... }: {
{ pkgs, inputs, theme, ... }: {
imports = [
inputs.stylix.homeManagerModules.stylix
./colors/${color}.nix
./themes/${theme}.nix
./components
./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;

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 = [
# Doom-Emacs input import
inputs.doom-emacs.hmModule

View file

@ -1,4 +1,4 @@
{ color, ... }: {
{ theme, ... }: {
wayland.windowManager.hyprland = {
settings = {
monitor = ",highrr,auto,1.25";
@ -49,7 +49,7 @@
# Automatic device mounting
udiskie &
DIR=/etc/nixos/git/wallpapers/${color}
DIR=/etc/nixos/git/wallpapers/${theme}
IMG=`ls $DIR | shuf -n 1`
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 = [
# Common configs
./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
stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg;
image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark";
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
stylix = {
image = /etc/nixos/git/wallpapers/${color}/wallpaper1.jpg;
image = /etc/nixos/git/wallpapers/${theme}/wallpaper1.jpg;
polarity = "dark";
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 = {
# overlays = [
@ -9,7 +9,7 @@
imports = [
inputs.stylix.nixosModules.stylix
./colors/${color}.nix
./themes/${theme}.nix
];
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 = [
# Modules
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 = [
# Services
./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 = [
# Modules
inputs.disko.nixosModules.disko