Compare commits
19 commits
66869edc1a
...
66300cae57
Author | SHA1 | Date | |
---|---|---|---|
Jimbo | 66300cae57 | ||
Jimbo | 032439e4dc | ||
Jimbo | 8d1271c017 | ||
Jimbo | ac4da6559d | ||
Jimbo | b3d9d2f396 | ||
Jimbo | 325c176464 | ||
Jimbo | 99d26740dd | ||
Jimbo | dc2a40eda1 | ||
Jimbo | 18bb13226c | ||
Jimbo | 0042da23be | ||
Jimbo | f4acc6c10d | ||
Jimbo | 137a9ab6d9 | ||
Jimbo | 6021f46c20 | ||
Jimbo | 4e21106824 | ||
Jimbo | d1124e6f93 | ||
Jimbo | 88dabef080 | ||
Jimbo | 007ad9fce9 | ||
Jimbo | 13d24f42ea | ||
Jimbo | 9c03712908 |
2
.gitattributes
vendored
2
.gitattributes
vendored
|
@ -1 +1 @@
|
|||
variables/secrets/** filter=git-crypt diff=git-crypt
|
||||
modules/extras/variables/secrets/** filter=git-crypt diff=git-crypt
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
{ ... }:
|
||||
{
|
||||
home-manager.users.jimbo = {
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,56 +0,0 @@
|
|||
{ lib, config, ... }:
|
||||
{
|
||||
options.secrets = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.secrets = {
|
||||
# User passwords, generated with 'mkpasswd -m sha-512'
|
||||
jimboAccPass = "$6$gYpE.pG/zPXgin06$2kydjDfd0K62Dhf9P0PFvJhRNz6xIC/bHYaf/XYqyKcLyZNzPQpy8uy9tCRcSYlj1wwBhzVtTRyItwajOHCEj0";
|
||||
|
||||
# Cloudflare API key
|
||||
flareApiKey = "ICUi1Zj0e_boCkeUJbXP9dJusv_qX_zhKWQGPcFe";
|
||||
|
||||
# Wireguard keys, generated with the wg command
|
||||
wgServerPriv = "WHxxi53Yp8NRZhT+BQnvC62BckOeG1x2SOvkWlm0tGo=";
|
||||
wgClientPriv = "MK9j0eYlgv+MZ9sSYO6C3lfqScpLPwcBqEckJ7o7tU4=";
|
||||
|
||||
# Icecast, plaintext
|
||||
castAdminPass = "Gw9P8tW$omeq#reZA$b^jDy9VN";
|
||||
castSourcePass = "KkFDeM0SHIL*s6!d4x*a4b#bcq";
|
||||
|
||||
# Photoprism, plaintext
|
||||
prismAdminPass = "gr3SkIqSBjDmypyxU!Zj9*CJ4X";
|
||||
|
||||
# Matrix secrets
|
||||
matrixSecret = "bea7db528a95d8225c5fe6bf92614816fe9d31496b510dff78b1608cfb36f82a";
|
||||
coturnSecret = "@OvhK7r4wu!71d9dcmQ$Z6PkqA#LP0niyJHLTiMVJFILo7@6ks3wwmjWJ*zDBV43";
|
||||
|
||||
# Pixelfed secret, must be 32 characters long
|
||||
pixelfedKey = ''APP_KEY=W9qein6055k9GdvwGbdJ6WxQ71Lr51cQ'';
|
||||
|
||||
# Transmission credentials, plaintext
|
||||
transmissionCredFile = ''
|
||||
{
|
||||
"rpc-username": "jimbo",
|
||||
"rpc-password": "w%QbIEZhoi4jh*j*PKaZLkKk96"
|
||||
}
|
||||
'';
|
||||
|
||||
# Email cleartext passwords
|
||||
noreplyPassword = "5mpEp3P^n6A%r3fznJA5";
|
||||
|
||||
# Email account hashes, generated with 'mkpasswd -m bcrypt'
|
||||
noreplyMailHash = "$2b$05$7VibcFKXy5Ff9sUMh3KWBeSXkInXNeaADa71Md/swt5RCk5s7UnM2";
|
||||
jimboMailHash = "$2a$12$vHeFInRpfp.lpfR/k8ptNecs3ztKjkRTr9hae0DP8yEN1ZHKM2sxe";
|
||||
lunaMailHash = "$2y$10$ksBfmuuojCWnzFqpBDoE/OoGZyqfP.Luo2il7wWcqHemHgqhpQdi6";
|
||||
cornMailHash = "$2b$05$qpG1aOA2tv3zLjzwh8/kyO3zZ8BZxvXcav0ioX7Y3Tps0tyhE/c7q";
|
||||
tinyMailHash = "$2a$12$beq/ZO3hRz5mmGe9Cvvx8u/sNJcjVHlQQ5axv8IBmdJav60n7fuK6";
|
||||
|
||||
# IPs
|
||||
jimIP = "99.247.177.43";
|
||||
lunaIP = "71.87.124.226";
|
||||
cornIP = "24.66.98.13";
|
||||
};
|
||||
}
|
|
@ -1,25 +1,5 @@
|
|||
{ lib, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
options.home = {
|
||||
sway.enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Enable SwayWM";
|
||||
};
|
||||
|
||||
niri = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = true;
|
||||
description = "Enable SwayWM";
|
||||
};
|
||||
settings = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
./niri
|
||||
./programs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, ... }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./autostart
|
||||
|
@ -10,7 +10,12 @@
|
|||
./theme
|
||||
];
|
||||
|
||||
home.file.".config/niri/config.kdl".text = ''
|
||||
options.home.niri.settings = lib.mkOption {
|
||||
type = lib.types.attrs;
|
||||
default = {};
|
||||
};
|
||||
|
||||
config.home.file.".config/niri/config.kdl".text = ''
|
||||
${builtins.readFile config.home.niri.settings.autostart}
|
||||
${builtins.readFile config.home.niri.settings.hotkeys}
|
||||
${builtins.readFile config.home.niri.settings.inputs}
|
||||
|
|
|
@ -144,6 +144,7 @@
|
|||
${primeMod}+Shift+f { fullscreen-window; }
|
||||
|
||||
// Niri specific
|
||||
${primeMod}+r { switch-preset-column-width; }
|
||||
${primeMod}+Shift+r { reset-window-height; }
|
||||
${primeMod}+Shift+c { center-column; }
|
||||
}
|
||||
|
|
|
@ -4,19 +4,25 @@
|
|||
prefer-no-csd
|
||||
|
||||
layout {
|
||||
gaps 7
|
||||
center-focused-column "never"
|
||||
default-column-width { proportion 0.5; }
|
||||
|
||||
focus-ring {
|
||||
off
|
||||
}
|
||||
|
||||
border {
|
||||
width 3
|
||||
active-color "#${config.look.colors.prime}"
|
||||
inactive-color "#${config.look.colors.split}"
|
||||
}
|
||||
|
||||
focus-ring {
|
||||
off
|
||||
}
|
||||
|
||||
gaps 7
|
||||
center-focused-column "never"
|
||||
default-column-width { proportion 0.5; }
|
||||
|
||||
preset-column-widths {
|
||||
proportion 0.33333
|
||||
proportion 0.5
|
||||
proportion 0.66667
|
||||
}
|
||||
}
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -87,11 +87,10 @@
|
|||
# Clocks
|
||||
longClockModule = {
|
||||
exec = pkgs.writeScript "longClock" ''
|
||||
time=$(date +'%a %b %d %l:%M:%S%p' | tr -s ' ')
|
||||
time=$(date +'%a %b %-d %-I:%M:%S%p')
|
||||
date=$(date "+%Y-%m-%d")
|
||||
echo "{\"text\":\" $time\",\"tooltip\":\"$date\"}"
|
||||
'';
|
||||
on-click = ''wl-copy $(date "+%Y-%m-%d-%H%M%S"); notify-send "Date copied."'';
|
||||
format = "{}";
|
||||
return-type = "json";
|
||||
interval = 1;
|
||||
|
@ -100,7 +99,6 @@
|
|||
|
||||
shortClockModule = {
|
||||
exec = "echo ' '$(date +'%l:%M%p' | sed 's/^ //')";
|
||||
on-click = ''wl-copy $(date "+%Y-%m-%d-%H%M%S"); notify-send "Date copied."'';
|
||||
interval = 60;
|
||||
tooltip = false;
|
||||
};
|
||||
|
@ -251,6 +249,7 @@
|
|||
"bluetooth" = bluetoothModule;
|
||||
"network" = networkModule // { interface = "enp*"; };
|
||||
};
|
||||
|
||||
display2 = {
|
||||
name = "bar2";
|
||||
position = "top";
|
||||
|
@ -282,6 +281,7 @@
|
|||
"custom/vram" = vramModule;
|
||||
"custom/clock-long" = longClockModule;
|
||||
};
|
||||
|
||||
display3 = {
|
||||
name = "bar3";
|
||||
position = "top";
|
||||
|
@ -363,6 +363,7 @@
|
|||
"network" = networkModule;
|
||||
};
|
||||
};
|
||||
|
||||
style = ''
|
||||
* {
|
||||
border: 0;
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
];
|
||||
|
||||
wayland.windowManager.sway = {
|
||||
enable = config.home.sway.enable;
|
||||
enable = config.home.desktop.enable;
|
||||
package = null;
|
||||
wrapperFeatures.gtk = true;
|
||||
checkConfig = false;
|
||||
|
|
Loading…
Reference in a new issue