chore(solterra): rename python to solterra

python is not a good hostname, subaru cars are better.
This commit is contained in:
Artur Manuel 2025-03-01 14:12:25 +00:00
commit 526881811c
Signed by: amadaluzia
SSH key fingerprint: SHA256:Zwg7gBuZyaG48ucAZneJwltiXu0+tJb7c3lYt9AYlLg
26 changed files with 57 additions and 121 deletions

View file

@ -7,7 +7,7 @@
in { in {
flake = { flake = {
nixosConfigurations = builtins.mapAttrs (n: v: lib.mkHost (v // {host = n;})) { nixosConfigurations = builtins.mapAttrs (n: v: lib.mkHost (v // {host = n;})) {
python = { solterra = {
system = "x86_64-linux"; system = "x86_64-linux";
extraModules = [ extraModules = [
inputs.disko.nixosModules.disko inputs.disko.nixosModules.disko

View file

@ -1,73 +0,0 @@
// scheme: "Everforest dark, hard"
// author: "Sainnhe Park (sainnhe@gmail.com)"
//
// base00: "2b3339" # Default Background
// base01: "323c41" # Lighter Background (Used for status bars, line number and folding marks)
// base02: "503946" # Selection Background
// base03: "868d80" # Comments, Invisibles, Line Highlighting
// base04: "d3c6aa" # Dark Foreground (Used for status bars)
// base05: "d3c6aa" # Default Foreground, Caret, Delimiters, Operators
// base06: "e9e8d2" # Light Foreground (Not often used)
// base07: "fff9e8" # Light Background (Not often used)
// base08: "7fbbb3" # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
// base09: "d699b6" # Integers, Boolean, Constants, XML Attributes, Markup Link Url
// base0A: "83c092" # Classes, Markup Bold, Search Text Background
// base0B: "dbbc7f" # Strings, Inherited Class, Markup Code, Diff Inserted
// base0C: "e69875" # Support, Regular Expressions, Escape Characters, Markup Quotes
// base0D: "a7c080" # Functions, Methods, Attribute IDs, Headings
// base0E: "e67e80" # Keywords, Storage, Selector, Markup Italic, Diff Changed
// base0F: "d699b6" # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
$base00: #2b3339;
$base01: #323c41;
$base02: #503946;
$base03: #868d80;
$base04: #d3c6aa;
$base05: #d3c6aa;
$base06: #e9e8d2;
$base07: #fff9e8;
$base08: #7fbbb3;
$base09: #d699b6;
$base0A: #83c092;
$base0B: #dbbc7f;
$base0C: #e69875;
$base0D: #a7c080;
$base0E: #e67e80;
$base0F: #d699b6;
* {
all: unset;
font-size: 15px;
color: $base06;
}
window#waybar {
background: $base00;
}
tooltip {
background: $base01;
}
.modules-left,
.modules-right {
background: $base01;
padding: 0px 8px;
}
.modules-center {
background: $base01;
}
#workspaces button {
padding: 6px 16px;
transition: 0.2s;
}
#workspaces button:hover {
padding: 6px 24px;
}
#workspaces button.focused {
background: $base02;
}

View file

@ -1,42 +0,0 @@
pkgs: let
json = pkgs.formats.json {};
in {
config = json.generate "waybar.jsonc" {
position = "top";
height = 0;
spacing = 16;
modules-left = ["mpris"];
modules-center = ["niri/workspaces"];
modules-right = ["wireplumber" "clock"];
mpris = {
format = "{player_icon} {dynamic}";
format-paused = "{status_icon} <i>{dynamic}</i>";
interval = 1;
dynamic-len = 64;
player-icons = {
default = "";
mpv = "🎵";
};
status_icons = {
paused = "";
};
};
clock = {
format = " {:%H:%M}";
tooltip-format = "{:%A, %B %d, %Y}";
};
wireplumber = {
format = "{icon} {volume}%";
format-muted = "";
on-click = "helvum";
format-icons = ["" "" ""];
};
};
style =
pkgs.runCommand "waybar.css" {
nativeBuildInputs = [pkgs.sass];
} ''
sass ${./style.scss} > $out
'';
}

View file

@ -0,0 +1,53 @@
@define-color base00 #2b3339;
@define-color base01 #323c41;
@define-color base02 #503946;
@define-color base03 #868d80;
@define-color base04 #d3c6aa;
@define-color base05 #d3c6aa;
@define-color base06 #e9e8d2;
@define-color base07 #fff9e8;
@define-color base08 #7fbbb3;
@define-color base09 #d699b6;
@define-color base0A #83c092;
@define-color base0B #dbbc7f;
@define-color base0C #e69875;
@define-color base0D #a7c080;
@define-color base0E #e67e80;
@define-color base0F #d699b6;
* {
all: unset;
font-size: 15px;
color: @base06;
}
window#waybar {
background: @base00;
}
tooltip {
background: @base01;
}
.modules-left,
.modules-right {
background: @base01;
padding: 0px 8px;
}
.modules-center {
background: @base01;
}
#workspaces button {
padding: 6px 16px;
transition: 0.2s;
}
#workspaces button:hover {
padding: 6px 24px;
}
#workspaces button.focused {
background: @base02;
}

View file

@ -3,9 +3,7 @@
pkgs, pkgs,
config, config,
... ...
}: let }: {
waybar = import ./configs/waybar/waybar.nix pkgs;
in {
alqueva.users.artur = { alqueva.users.artur = {
shell = config.alqueva.shells.nushell.package; shell = config.alqueva.shells.nushell.package;
tmpfiles = { tmpfiles = {
@ -21,8 +19,8 @@ in {
".config/niri/" = ./configs/niri; ".config/niri/" = ./configs/niri;
".config/rofi/" = ./configs/rofi; ".config/rofi/" = ./configs/rofi;
".config/foot" = ./configs/foot; ".config/foot" = ./configs/foot;
".config/waybar/config.jsonc" = waybar.config; ".config/waybar/config.jsonc" = ./configs/waybar/config.jsonc;
".config/waybar/style.css" = waybar.style; ".config/waybar/style.css" = ./configs/waybar/style.css;
}; };
packages = builtins.attrValues { packages = builtins.attrValues {
inherit inherit