mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
oh god what have i done
This commit is contained in:
parent
51843d7c62
commit
e6b215cefd
4 changed files with 13 additions and 15 deletions
|
|
@ -7,13 +7,13 @@
|
|||
nixpkgs.config = { allowUnfree = true; };
|
||||
nix = {
|
||||
nixPath = [
|
||||
"nixpkgs=${sources.nixpkgs}"
|
||||
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
|
||||
"nixpkgs-unstable=${sources.nixpkgs-unstable}"
|
||||
"nixpkgs-mozilla=${sources.nixpkgs-mozilla}"
|
||||
"NUR=${sources.NUR}"
|
||||
"arc=${sources.arc-nixexprs}"
|
||||
];
|
||||
binaryCaches = [ "https://arc.cachix.org" ];
|
||||
binaryCaches = [ "https://cache.nixos.org" "https://arc.cachix.org" ];
|
||||
binaryCachePublicKeys =
|
||||
[ "arc.cachix.org-1:DZmhclLkB6UO0rc0rBzNpwFbbaeLfyn+fYccuAy7YVY=" ];
|
||||
gc.automatic = lib.mkDefault true;
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@
|
|||
};
|
||||
in {
|
||||
"DP-1" = left;
|
||||
"DVI-D-1" = middle;
|
||||
"HDMI-A-1" = right;
|
||||
"DVI-D-1" = right;
|
||||
"HDMI-A-1" = middle;
|
||||
"eDP-1" = laptop;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
};
|
||||
settings = [{
|
||||
modules-left = [ "sway/workspaces" "sway/mode" "sway/window" ];
|
||||
modules-center = [ "clock" "custom/weather" ];
|
||||
modules-center = [ "clock" ]; # "custom/weather"
|
||||
modules-right = [
|
||||
"pulseaudio"
|
||||
"network"
|
||||
|
|
@ -23,16 +23,12 @@
|
|||
];
|
||||
|
||||
modules = {
|
||||
"custom/weather" = {
|
||||
format = "{}";
|
||||
interval = 3600;
|
||||
on-click = "xdg-open 'https://google.com/search?q=weather'";
|
||||
exec = "nix-shell --command 'python ${
|
||||
../../../../../scripts/weather/weather.py
|
||||
} ${witch.secrets.profiles.sway.city} ${witch.secrets.profiles.sway.api_key}' ${
|
||||
../../../../../scripts/weather
|
||||
}";
|
||||
};
|
||||
#"custom/weather" = {
|
||||
# format = "{}";
|
||||
# interval = 3600;
|
||||
# on-click = "xdg-open 'https://google.com/search?q=weather'";
|
||||
# exec = "nix-shell --command 'python ${../../../../../scripts/weather/weather.py} ${witch.secrets.profiles.sway.city} ${witch.secrets.profiles.sway.api_key}' ${../../../../../scripts/weather}";
|
||||
#};
|
||||
cpu = { format = " {usage}%"; };
|
||||
memory = { format = " {percentage}%"; };
|
||||
temperature = { format = "﨎 {temperatureC}°C"; };
|
||||
|
|
|
|||
2
todo.org
2
todo.org
|
|
@ -6,6 +6,8 @@ https://nixos.wiki/wiki/Virtualization_in_NixOS#Okay.2C_Okay.2C_I.27ll_Do_It_Mys
|
|||
** TODO Add dork.dev to mailserver
|
||||
Don't want to pay for fastmail.
|
||||
|
||||
** TODO MPV home-manager module rebind scrollwheel
|
||||
|
||||
** TODO Migrate non-PGSQL services to PGSQL
|
||||
bitwarden-rs, Gitea, ...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue