Add ssh client config; configure redshift; fix theme errors
This commit is contained in:
parent
164e7eb377
commit
29f4ff1d92
|
@ -29,12 +29,14 @@ Bloodletting:
|
||||||
Ritual:
|
Ritual:
|
||||||
- `colmena apply[-local]` - deploy config
|
- `colmena apply[-local]` - deploy config
|
||||||
- `mkdir -p ~/.gnupg` - create directory for gnupg
|
- `mkdir -p ~/.gnupg` - create directory for gnupg
|
||||||
|
- copy `~/.ssh/id_ed25519`
|
||||||
- manual configuration/login:
|
- manual configuration/login:
|
||||||
- Firefox
|
- Firefox
|
||||||
- Copy extension data
|
- Copy extension data
|
||||||
- Element
|
- Element
|
||||||
- Telegram Desktop
|
- Telegram Desktop
|
||||||
- Geary
|
- Geary
|
||||||
|
- Obsidian
|
||||||
|
|
||||||
### Rsyncd Modules
|
### Rsyncd Modules
|
||||||
Modded minecraft instance rsync modules can be accessed through `mc-[modpack]@bloodletting::mc-[modpack]` with `--rsh=ssh`
|
Modded minecraft instance rsync modules can be accessed through `mc-[modpack]@bloodletting::mc-[modpack]` with `--rsh=ssh`
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
nil
|
nil
|
||||||
nitrogen
|
nitrogen
|
||||||
obs-studio
|
obs-studio
|
||||||
|
obsidian
|
||||||
pfetch
|
pfetch
|
||||||
pridefetch
|
pridefetch
|
||||||
prismlauncher
|
prismlauncher
|
||||||
|
@ -51,11 +52,20 @@
|
||||||
xdotool
|
xdotool
|
||||||
yubioath-flutter
|
yubioath-flutter
|
||||||
bspm
|
bspm
|
||||||
|
polybar-spotify
|
||||||
];
|
];
|
||||||
|
|
||||||
# Brightness/volume keys
|
# Brightness/volume keys
|
||||||
users.users.agatha.extraGroups = [ "video" ];
|
users.users.agatha.extraGroups = [ "video" ];
|
||||||
programs.light.enable = true;
|
|
||||||
|
location = {
|
||||||
|
latitude = 49.0;
|
||||||
|
longitude = 8.4;
|
||||||
|
};
|
||||||
|
services.redshift = {
|
||||||
|
enable = true;
|
||||||
|
brightness.night = "0.8";
|
||||||
|
};
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -145,8 +155,39 @@
|
||||||
"ZorinPurple-Dark";
|
"ZorinPurple-Dark";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.helix.settings.theme =
|
||||||
|
if config.environment.graphical.theme.light then
|
||||||
|
"paramount-light"
|
||||||
|
else
|
||||||
|
"paramount-dark";
|
||||||
|
|
||||||
programs.direnv.enable = true;
|
programs.direnv.enable = true;
|
||||||
home.sessionVariables = { "DIRENV_LOG_FORMAT" = ""; };
|
home.sessionVariables = { "DIRENV_LOG_FORMAT" = ""; };
|
||||||
|
|
||||||
|
programs.ssh.enable = true;
|
||||||
|
programs.ssh.matchBlocks = {
|
||||||
|
"bloodletting" = { hostname = "technogothic.net"; };
|
||||||
|
|
||||||
|
"backups" = {
|
||||||
|
match = ''originalhost backups exec "ip r | rg 10.42.0.0/24"'';
|
||||||
|
hostname = "10.20.1.2";
|
||||||
|
user = "agatha";
|
||||||
|
identityFile = [ "~/.ssh/id_ed25519" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
"work" = {
|
||||||
|
match = ''originalhost work exec "ip r | rg 10.42.0.0/24"'';
|
||||||
|
hostname = "10.42.0.222";
|
||||||
|
forwardX11 = true;
|
||||||
|
forwardX11Trusted = true;
|
||||||
|
extraOptions."TCPKeepAlive" = "yes";
|
||||||
|
};
|
||||||
|
|
||||||
|
"ritual" = {
|
||||||
|
match = ''originalhost ritual exec "ip r | rg 10.42.0.0/24"'';
|
||||||
|
hostname = "10.42.0.230";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.graphical.colorschemes = {
|
environment.graphical.colorschemes = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, config, ... }: {
|
{ pkgs, config, lib, ... }: {
|
||||||
home-manager.users.agatha = {
|
home-manager.users.agatha = {
|
||||||
# Formatters/Language Servers that Helix uses
|
# Formatters/Language Servers that Helix uses
|
||||||
home.packages = with pkgs; [ nixfmt ];
|
home.packages = with pkgs; [ nixfmt ];
|
||||||
|
@ -15,10 +15,7 @@
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
settings = {
|
settings = {
|
||||||
theme = if config.environment.graphical.theme.light then
|
theme = lib.mkDefault "paramount-dark";
|
||||||
"paramount-light"
|
|
||||||
else
|
|
||||||
"paramount-dark";
|
|
||||||
editor = {
|
editor = {
|
||||||
middle-click-paste = false;
|
middle-click-paste = false;
|
||||||
scroll-lines = 4;
|
scroll-lines = 4;
|
||||||
|
|
Loading…
Reference in New Issue