Rename things
This commit is contained in:
parent
213250f776
commit
8d217624df
14 changed files with 30 additions and 30 deletions
20
flake.nix
20
flake.nix
|
@ -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"; };
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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
|
||||
];
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 &
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue