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; };
|
nixpkgs.config = { allowUnfree = true; };
|
||||||
nix = {
|
nix = {
|
||||||
nixPath = [
|
nixPath = [
|
||||||
"nixpkgs=${sources.nixpkgs}"
|
"nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos"
|
||||||
"nixpkgs-unstable=${sources.nixpkgs-unstable}"
|
"nixpkgs-unstable=${sources.nixpkgs-unstable}"
|
||||||
"nixpkgs-mozilla=${sources.nixpkgs-mozilla}"
|
"nixpkgs-mozilla=${sources.nixpkgs-mozilla}"
|
||||||
"NUR=${sources.NUR}"
|
"NUR=${sources.NUR}"
|
||||||
"arc=${sources.arc-nixexprs}"
|
"arc=${sources.arc-nixexprs}"
|
||||||
];
|
];
|
||||||
binaryCaches = [ "https://arc.cachix.org" ];
|
binaryCaches = [ "https://cache.nixos.org" "https://arc.cachix.org" ];
|
||||||
binaryCachePublicKeys =
|
binaryCachePublicKeys =
|
||||||
[ "arc.cachix.org-1:DZmhclLkB6UO0rc0rBzNpwFbbaeLfyn+fYccuAy7YVY=" ];
|
[ "arc.cachix.org-1:DZmhclLkB6UO0rc0rBzNpwFbbaeLfyn+fYccuAy7YVY=" ];
|
||||||
gc.automatic = lib.mkDefault true;
|
gc.automatic = lib.mkDefault true;
|
||||||
|
|
|
||||||
|
|
@ -43,8 +43,8 @@
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"DP-1" = left;
|
"DP-1" = left;
|
||||||
"DVI-D-1" = middle;
|
"DVI-D-1" = right;
|
||||||
"HDMI-A-1" = right;
|
"HDMI-A-1" = middle;
|
||||||
"eDP-1" = laptop;
|
"eDP-1" = laptop;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
};
|
};
|
||||||
settings = [{
|
settings = [{
|
||||||
modules-left = [ "sway/workspaces" "sway/mode" "sway/window" ];
|
modules-left = [ "sway/workspaces" "sway/mode" "sway/window" ];
|
||||||
modules-center = [ "clock" "custom/weather" ];
|
modules-center = [ "clock" ]; # "custom/weather"
|
||||||
modules-right = [
|
modules-right = [
|
||||||
"pulseaudio"
|
"pulseaudio"
|
||||||
"network"
|
"network"
|
||||||
|
|
@ -23,16 +23,12 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
"custom/weather" = {
|
#"custom/weather" = {
|
||||||
format = "{}";
|
# format = "{}";
|
||||||
interval = 3600;
|
# interval = 3600;
|
||||||
on-click = "xdg-open 'https://google.com/search?q=weather'";
|
# on-click = "xdg-open 'https://google.com/search?q=weather'";
|
||||||
exec = "nix-shell --command 'python ${
|
# exec = "nix-shell --command 'python ${../../../../../scripts/weather/weather.py} ${witch.secrets.profiles.sway.city} ${witch.secrets.profiles.sway.api_key}' ${../../../../../scripts/weather}";
|
||||||
../../../../../scripts/weather/weather.py
|
#};
|
||||||
} ${witch.secrets.profiles.sway.city} ${witch.secrets.profiles.sway.api_key}' ${
|
|
||||||
../../../../../scripts/weather
|
|
||||||
}";
|
|
||||||
};
|
|
||||||
cpu = { format = " {usage}%"; };
|
cpu = { format = " {usage}%"; };
|
||||||
memory = { format = " {percentage}%"; };
|
memory = { format = " {percentage}%"; };
|
||||||
temperature = { format = "﨎 {temperatureC}°C"; };
|
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
|
** TODO Add dork.dev to mailserver
|
||||||
Don't want to pay for fastmail.
|
Don't want to pay for fastmail.
|
||||||
|
|
||||||
|
** TODO MPV home-manager module rebind scrollwheel
|
||||||
|
|
||||||
** TODO Migrate non-PGSQL services to PGSQL
|
** TODO Migrate non-PGSQL services to PGSQL
|
||||||
bitwarden-rs, Gitea, ...
|
bitwarden-rs, Gitea, ...
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue