Compare commits
12 commits
v2025.03.2
...
consensus
Author | SHA1 | Date | |
---|---|---|---|
bba3e78d26 | |||
1b3204e6fc | |||
24020f8958 | |||
fa658feff8 | |||
61a7d36f73 | |||
57c9a81fff | |||
9ff082da33 | |||
b96cb32522 | |||
371cca1d7d | |||
e52012029d | |||
4abb16c3f1 | |||
d664b153e4 |
6 changed files with 290 additions and 40 deletions
50
flake.lock
generated
50
flake.lock
generated
|
@ -922,14 +922,15 @@
|
|||
"nixpkgs": [
|
||||
"nixpkgsUnstable"
|
||||
],
|
||||
"nixpkgs-stable": "nixpkgs-stable"
|
||||
"nixpkgs-stable": "nixpkgs-stable",
|
||||
"rust-overlay": "rust-overlay"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1739756353,
|
||||
"narHash": "sha256-UMRlUlCXyIG9jVgDQtKCyDpgjTIHkadVo0DIOayDH6U=",
|
||||
"lastModified": 1745233746,
|
||||
"narHash": "sha256-4yE9tsO4EBf+OQJGAek5ZhgrzmjGyztKaNXY/dmJuQk=",
|
||||
"owner": "lilyinstarlight",
|
||||
"repo": "nixos-cosmic",
|
||||
"rev": "0d64f87dff6778231ae0288cca71e78e2ab30752",
|
||||
"rev": "644a91f54a1aaa2c5b43fbfb19a6668a9685523c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -4761,11 +4762,11 @@
|
|||
},
|
||||
"nixpkgs-stable": {
|
||||
"locked": {
|
||||
"lastModified": 1739624908,
|
||||
"narHash": "sha256-f84lBmLl4tkDp1ZU5LBTSFzlxXP4926DVW3KnXrke10=",
|
||||
"lastModified": 1744440957,
|
||||
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a60651b217d2e529729cbc7d989c19f3941b9250",
|
||||
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -4873,11 +4874,11 @@
|
|||
},
|
||||
"nixpkgsUnstable": {
|
||||
"locked": {
|
||||
"lastModified": 1741568122,
|
||||
"narHash": "sha256-nShdXNkaoBi4xOpTDe9cSnr86xCeYRLpoLSA3fFXb7w=",
|
||||
"lastModified": 1743938762,
|
||||
"narHash": "sha256-UgFYn8sGv9B8PoFpUfCa43CjMZBl1x/ShQhRDHBFQdI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "d98193828b0d5f46013fbfa7cc3b3bfb6266bc0f",
|
||||
"rev": "74a40410369a1c35ee09b8a1abee6f4acbedc059",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -5277,11 +5278,11 @@
|
|||
},
|
||||
"nixpkgs_33": {
|
||||
"locked": {
|
||||
"lastModified": 1741445498,
|
||||
"narHash": "sha256-F5Em0iv/CxkN5mZ9hRn3vPknpoWdcdCyR0e4WklHwiE=",
|
||||
"lastModified": 1744440957,
|
||||
"narHash": "sha256-FHlSkNqFmPxPJvy+6fNLaNeWnF1lZSgqVCl/eWaJRc4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "52e3095f6d812b91b22fb7ad0bfc1ab416453634",
|
||||
"rev": "26d499fc9f1d567283d5d56fcf367edd815dba1d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -5758,7 +5759,7 @@
|
|||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"rust-overlay": "rust-overlay"
|
||||
"rust-overlay": "rust-overlay_2"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1726755133,
|
||||
|
@ -5789,6 +5790,27 @@
|
|||
}
|
||||
},
|
||||
"rust-overlay": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"cosmicDesktop",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1745207416,
|
||||
"narHash": "sha256-2g2TnXgJEvSvpk7ujY69pSplmM3oShhoOidZf1iHTHU=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "68a0ff1a43d08aa1ec3730e7e7d06f6da0ba630a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"rust-overlay_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"ragenix",
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
imports = [
|
||||
../../hardware/lenovo_yoga7i.nix
|
||||
../../profiles/desktopFiona.nix
|
||||
../../profiles/desktop_common.nix
|
||||
];
|
||||
|
||||
# Use the UEFI boot loader.
|
||||
|
|
|
@ -1,31 +1,16 @@
|
|||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
# Use the color palette
|
||||
palette = "dracula"
|
||||
palette = 'one_dark'
|
||||
|
||||
[aws]
|
||||
style = "bold orange"
|
||||
|
||||
[character]
|
||||
error_symbol = "[λ:](bold red)"
|
||||
success_symbol = "[λ:](bold green)"
|
||||
style = "color_orange"
|
||||
|
||||
[cmd_duration]
|
||||
style = "bold yellow"
|
||||
|
||||
[directory]
|
||||
style = "bold green"
|
||||
|
||||
[git_branch]
|
||||
style = "bold pink"
|
||||
|
||||
[git_status]
|
||||
style = "bold red"
|
||||
style = "color_yellow"
|
||||
|
||||
[hostname]
|
||||
style = "bold purple"
|
||||
|
||||
[username]
|
||||
format = "[$user]($style) on "
|
||||
style_user = "bold cyan"
|
||||
style = "color_purple"
|
||||
|
||||
# Define Dracula color palette
|
||||
[palettes.dracula]
|
||||
|
@ -40,3 +25,239 @@ pink = "#ff79c6"
|
|||
purple = "#bd93f9"
|
||||
red = "#ff5555"
|
||||
yellow = "#f1fa8c"
|
||||
|
||||
# Sets the colors of the "one_dark" palette.
|
||||
[palettes.one_dark]
|
||||
mono0 = '#d7dae0' # terminal white, from the One Dark Pro VSCode theme.
|
||||
mono1 = '#abb2bf' # syntax_fg.
|
||||
mono2 = '#828997'
|
||||
mono3 = '#5c6370'
|
||||
mono4 = '#3f4451' # terminal black, from the One Dark Pro VSCode theme.
|
||||
color_red0 = '#e06c75'
|
||||
color_red1 = '#be5046'
|
||||
color_green = '#98c379'
|
||||
color_yellow = '#e5c07b'
|
||||
color_blue = '#61afef'
|
||||
color_purple = '#c678dd'
|
||||
color_cyan = '#56b6c2'
|
||||
color_orange = '#d19a66'
|
||||
syntax_fg = '#abb2bf'
|
||||
syntax_bg = '#282c34'
|
||||
color_bg2 = '#665c54'
|
||||
syntax_gutter = '#647382'
|
||||
syntax_accent = '#528cff'
|
||||
|
||||
# Module that displays the current OS.
|
||||
#[os]
|
||||
#disabled = false # Disabled by default
|
||||
#style = "color_blue"
|
||||
#format = '[ $symbol ]($style)'
|
||||
|
||||
# Sets custom symbols for each OS.
|
||||
#[os.symbols]
|
||||
#NixOS = ""
|
||||
|
||||
# Module that displays the current username.
|
||||
[username]
|
||||
show_always = false
|
||||
style_user = "bold fg:color_red0"
|
||||
style_root = "bold italic bg:color_red0 fg:syntax_bg"
|
||||
format = '[ $user ]($style)'
|
||||
|
||||
# Module that displays the current directory.
|
||||
[directory]
|
||||
style = "fg:color_orange"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
# Sets the custom symbols for directories.
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Developer" = " "
|
||||
|
||||
# Module that displays the current git branch.
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "fg:color_yellow"
|
||||
format = '[[ $symbol $branch ](fg:color_yellow)]($style)'
|
||||
|
||||
# Module that displays the current git status.
|
||||
[git_status]
|
||||
style = "bg:color_green"
|
||||
format = '[[($all_status$ahead_behind )](fg:color_yellow)]($style)'
|
||||
|
||||
# Language specific modules
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[dotnet]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[kotlin]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[python]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol( $version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[elixir]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[elm]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[gradle]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[julia]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[nim]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
[scala]
|
||||
symbol = " "
|
||||
style = "bg:color_green"
|
||||
format = '[[ $symbol ($version) ](fg:syntax_bg bg:color_green)]($style)'
|
||||
|
||||
# Module that displays the docker context.
|
||||
[docker_context]
|
||||
symbol = " "
|
||||
style = "bg:mono3"
|
||||
format = '[[ $symbol( $context) ](fg:syntax_fg bg:mono3)]($style)'
|
||||
|
||||
# Module that fills the space between the left and right segments.
|
||||
[fill]
|
||||
symbol = " "
|
||||
|
||||
# Module that displays the time.
|
||||
#[time]
|
||||
#disabled = false # Disabled by default
|
||||
#use_12hr = true # Disable for 24h format without seconds
|
||||
#style = "bg:mono4"
|
||||
#format = '[[ $time ](fg:syntax_fg bg:mono4)]($style)'
|
||||
|
||||
# Module that displays the battery level and status.
|
||||
[battery]
|
||||
format = '[$symbol $percentage ]($style)'
|
||||
|
||||
# Battery symbols and colors for each threshold.
|
||||
[[battery.display]]
|
||||
threshold = 10
|
||||
style = "bold bg:mono4 fg:color_red1"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 20
|
||||
style = "bold bg:mono4 fg:color_red0"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 30
|
||||
style = "bold bg:mono4 fg:color_yellow"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 40
|
||||
style = "bold bg:mono4 fg:color_yellow"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 50
|
||||
style = "bold bg:mono4 fg:color_yellow"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 60
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 70
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 80
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 90
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
|
||||
[[battery.display]]
|
||||
style = "bold bg:mono4 fg:color_green"
|
||||
discharging_symbol = ""
|
||||
charging_symbol = ""
|
||||
threshold = 100
|
||||
|
||||
# New line character
|
||||
[character]
|
||||
success_symbol = "[λ:](bold fg:color_green)"
|
||||
error_symbol = "[λ:](bold fg:color_red1)"
|
||||
vimcmd_symbol = '[](bold fg:syntax_accent)'
|
||||
vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
||||
|
|
|
@ -35,6 +35,8 @@ in {
|
|||
xorg.libxcb # X C binding
|
||||
];
|
||||
fonts.packages = with pkgs; [
|
||||
atkinson-hyperlegible # Typeface designed to offer greater legibility
|
||||
atkinson-monolegible # Mono variant of the Atkinson Hyperlegible typeface
|
||||
nerdfonts # Iconic font aggregator, collection, & patcher
|
||||
];
|
||||
networking = {
|
||||
|
|
|
@ -16,6 +16,7 @@ in {
|
|||
ffmpeg-full # record, convert and stream audio and video
|
||||
gimp # The GNU Image Manipulation Program
|
||||
kdePackages.kasts # Kirigami-based podcast player
|
||||
kitty # The fast, feature-rich, GPU based terminal emulator
|
||||
mpd # A flexible, powerful daemon for playing music
|
||||
ncmpcpp # A featureful ncurses based MPD client inspired by ncmpc
|
||||
nvme-cli # NVM-Express user space tooling for Linux
|
||||
|
@ -29,6 +30,7 @@ in {
|
|||
termonad # Terminal emulator configurable in Haskell
|
||||
texliveFull # TeX Live environment
|
||||
tmate # Instant Terminal Sharing
|
||||
toot # Mastodon CLI interface
|
||||
tor-browser-bundle-bin # Tor Browser Bundle built by torproject.org
|
||||
tuba # Fediverse client
|
||||
unzip # An extraction utility for archives compressed in .zip format
|
||||
|
|
12
outputs.nix
12
outputs.nix
|
@ -70,8 +70,9 @@ in {
|
|||
];
|
||||
deployment = {
|
||||
tags = ["active"];
|
||||
targetHost = "10.42.0.124";
|
||||
targetHost = "10.69.0.122";
|
||||
};
|
||||
roles.desktop.enable = true;
|
||||
};
|
||||
ceilidh = {
|
||||
imports = [
|
||||
|
@ -112,7 +113,7 @@ in {
|
|||
];
|
||||
deployment = {
|
||||
tags = ["active" "rPi"];
|
||||
targetHost = "10.42.0.204";
|
||||
targetHost = "10.69.0.204";
|
||||
};
|
||||
};
|
||||
eamhair = {
|
||||
|
@ -122,7 +123,7 @@ in {
|
|||
];
|
||||
deployment = {
|
||||
tags = ["active" "rPi"];
|
||||
targetHost = "10.42.0.205";
|
||||
targetHost = "10.69.0.205";
|
||||
};
|
||||
services.toxvpn.localip = "10.37.0.205";
|
||||
};
|
||||
|
@ -157,7 +158,10 @@ in {
|
|||
hosts/sercanto
|
||||
ragenix.nixosModules.default
|
||||
];
|
||||
deployment.targetHost = "10.42.0.180";
|
||||
deployment = {
|
||||
targetHost = "10.69.0.149";
|
||||
tags = ["active"];
|
||||
};
|
||||
roles.desktop.enable = true;
|
||||
roles.desktopCraige.enable = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue