oh god what have i done

This commit is contained in:
kat witch 2021-03-06 17:40:23 +00:00
parent 51843d7c62
commit e6b215cefd
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 13 additions and 15 deletions

View file

@ -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;

View file

@ -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;
};

View file

@ -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"; };

View file

@ -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, ...