feat: masala

Signed-off-by: jolheiser <john.olheiser@gmail.com>
teamcity
jolheiser 2023-12-26 15:13:51 -06:00
parent 55cfa43092
commit e639338307
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
14 changed files with 190 additions and 85 deletions

View File

@ -22,6 +22,22 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems" "systems": "systems"
@ -356,7 +372,8 @@
"tclip": "tclip", "tclip": "tclip",
"templ": "templ", "templ": "templ",
"tmpl": "tmpl", "tmpl": "tmpl",
"website": "website" "website": "website",
"wsl": "wsl"
} }
}, },
"systems": { "systems": {
@ -510,6 +527,30 @@
"url": "https://git.jojodev.com/jolheiser/jolheiser.com" "url": "https://git.jojodev.com/jolheiser/jolheiser.com"
} }
}, },
"wsl": {
"inputs": {
"flake-compat": "flake-compat",
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1703521177,
"narHash": "sha256-V95s2ypDpdaFGbeG3pvazEE7qdjwZknoauv89DJQvz0=",
"owner": "nix-community",
"repo": "NixOS-WSL",
"rev": "ec53b11f0c78572a2b0b5263ae1c46293daaf55f",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "NixOS-WSL",
"type": "github"
}
},
"xc": { "xc": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",

View File

@ -85,6 +85,12 @@
url = "github:a-h/templ"; url = "github:a-h/templ";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# WSL
wsl = {
url = "github:nix-community/NixOS-WSL";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};
}; };
outputs = { outputs = {
@ -92,6 +98,7 @@
home-manager, home-manager,
agenix, agenix,
nixpkgs-py36, nixpkgs-py36,
wsl,
... ...
} @ inputs: let } @ inputs: let
overlays = [ overlays = [
@ -148,49 +155,62 @@
}; };
}; };
}; };
workModules = [
home-manager.nixosModules.home-manager
agenix.nixosModules.default
(commonConfig {})
({pkgs, ...}: {
config = {
nixpkgs.overlays = [
(_: _: {
py36 = import nixpkgs-py36 {inherit (pkgs) system;};
})
];
home-manager.users.${username}.programs = {
git.package = pkgs.gitSVN;
firefox.profiles.default.bookmarks = [(import ./apps/gui/firefox/work.nix)];
};
age.secrets = {
netrc = {
file = ./secrets/work/netrc.age;
owner = username;
path = "/home/${username}/.netrc";
};
pipconf = {
file = ./secrets/work/pip.conf.age;
owner = username;
path = "/home/${username}/.config/pip/pip.conf";
};
pypirc = {
file = ./secrets/work/pypirc.age;
owner = username;
path = "/home/${username}/.pypirc";
};
cifs = userSecret ./secrets/work/cifs.age;
};
};
})
];
username = "jolheiser"; username = "jolheiser";
in in
{ {
nixosConfigurations = { nixosConfigurations = {
"chai" = nixpkgs.lib.nixosSystem { "chai" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules =
home-manager.nixosModules.home-manager workModules
agenix.nixosModules.default ++ [
./machines/chai ./machines/chai
(commonConfig {}) ];
({pkgs, ...}: { };
config = { "masala" = nixpkgs.lib.nixosSystem {
nixpkgs.overlays = [ system = "x86_64-linux";
(_: _: { modules =
py36 = import nixpkgs-py36 {inherit (pkgs) system;}; workModules
}) ++ [
]; wsl.nixosModules.wsl
home-manager.users.${username}.programs = { ./machines/masala
git.package = pkgs.gitSVN; ];
firefox.profiles.default.bookmarks = [(import ./apps/gui/firefox/work.nix)];
};
age.secrets = {
netrc = {
file = ./secrets/work/netrc.age;
owner = username;
path = "/home/${username}/.netrc";
};
pipconf = {
file = ./secrets/work/pip.conf.age;
owner = username;
path = "/home/${username}/.config/pip/pip.conf";
};
pypirc = {
file = ./secrets/work/pypirc.age;
owner = username;
path = "/home/${username}/.pypirc";
};
cifs = userSecret ./secrets/work/cifs.age;
};
};
})
];
}; };
"matcha" = nixpkgs.lib.nixosSystem { "matcha" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";

View File

@ -0,0 +1,34 @@
{pkgs, ...}: let
username = "jolheiser";
in {
imports = [../common/gui];
networking.hostName = "masala";
wsl = {
enable = true;
defaultUser = username;
startMenuLaunchers = true;
};
users.users."${username}" = {
extraGroups = ["wheel" "docker"];
isNormalUser = true;
};
services.openssh.enable = true;
environment.systemPackages = with pkgs; [
libxcrypt
py36.python36
py36.python36Packages.virtualenv
py36.python36Packages.psycopg2
py36.python36Packages.wheel
py36.python36Packages.setuptools
py36.python36Packages.pip
python3Packages.twine
subversion
];
system.stateVersion = "23.11";
}

View File

@ -2,9 +2,10 @@ let
jolheiser = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrPUqk9v7FE7OgMDaOMdlnItiXSDkmS+eU94RzQFiMS nix"; jolheiser = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrPUqk9v7FE7OgMDaOMdlnItiXSDkmS+eU94RzQFiMS nix";
matcha = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZxjkZLj/9xvmg1enK+B7k8qf6Px0j4kTZ2caQfYmB1 root@matcha"; matcha = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILZxjkZLj/9xvmg1enK+B7k8qf6Px0j4kTZ2caQfYmB1 root@matcha";
chai = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA7PS9SJ+OVrUku9dPUQZigioy+r3VlFHVntsa/F7AdM root@chai"; chai = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIA7PS9SJ+OVrUku9dPUQZigioy+r3VlFHVntsa/F7AdM root@chai";
masala = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIH0bnlygiFqNwl0mHxcD+t78bTsn1NcHm6L2B4le4FtS root@nixos";
dragonwell = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN32Cwxer2AOGvEqSqXSPp49gj1VtR7G2XmPnmXj6o53 root@dragonwell"; dragonwell = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN32Cwxer2AOGvEqSqXSPp49gj1VtR7G2XmPnmXj6o53 root@dragonwell";
all = [jolheiser matcha chai dragonwell]; all = [jolheiser matcha chai masala dragonwell];
in { in {
"shared/ssh-config.age".publicKeys = all; "shared/ssh-config.age".publicKeys = all;
"shared/ssh-config-work.age".publicKeys = all; "shared/ssh-config-work.age".publicKeys = all;
@ -12,8 +13,8 @@ in {
"shared/irc-pw.age".publicKeys = all; "shared/irc-pw.age".publicKeys = all;
"shared/gist-pw.age".publicKeys = all; "shared/gist-pw.age".publicKeys = all;
"shared/git-send-email.age".publicKeys = all; "shared/git-send-email.age".publicKeys = all;
"work/netrc.age".publicKeys = [jolheiser chai]; "work/netrc.age".publicKeys = [jolheiser chai masala];
"work/pip.conf.age".publicKeys = [jolheiser chai]; "work/pip.conf.age".publicKeys = [jolheiser chai masala];
"work/pypirc.age".publicKeys = [jolheiser chai]; "work/pypirc.age".publicKeys = [jolheiser chai masala];
"work/cifs.age".publicKeys = [jolheiser chai]; "work/cifs.age".publicKeys = [jolheiser chai masala];
} }

View File

@ -1,13 +1,17 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 E8j6/g r0iWFrtSeUT6qVFrQhLCba6rZfsaFynSC8Rb3EuGoFg -> ssh-ed25519 E8j6/g MoQ+KiKt+A1JLrO7Xdo/EUY1/RXgT02IT5KdDIrBFnI
JzeAiUCWhojQa5mRvqT+SrR3VqSW2k4anUSv9/DBC2s ivOpO8f87yAm1k/1FL3qhiaS5G/eW7jYV19Mz5QoEXc
-> ssh-ed25519 xUMv2w oCscH65NfnZyMvSwHXsK/TvgnpWNq5+7DjiYMrIL6xk -> ssh-ed25519 xUMv2w xht8LuQJaV0yhzvwbmYjUsgn3KdUqj8BtumeNRqrP10
GdXBCV88GpOBfadA3w3CXuVf/U5Q2u3SgnEPesPBAgA 0WlxPmL1t8GqRMX+ll0nnDDPDDhEAOqkJFZKwwFYZ10
-> ssh-ed25519 jo1MPA 37bTADVSe/ztBINGlXjDgTWMcchKycTP83MIvpIZNDc -> ssh-ed25519 jo1MPA XPE2K3xYt5ECbDQP5T5VMTsGkIg9awvvLflpPSc522E
TDJOpE9KrE3DrTD4OM5ikL8mU85WbvrsId3lRp507Yk G4xPLpMYsOz+5au7BaNk1n5naS5SWaxFKYue6f0gHWA
-> ssh-ed25519 f31uNA sX0XTVf+92VqUA7Hdd6x6fxVqmWqHj1l9eOSE6yUlAU -> ssh-ed25519 JBrabQ QFUSyS+N63P5XCJTbD32yfZ2GIh5J4A1YYL5T3CWDgg
hc1ZeagJ4w/jRKXtCHZxHcs0k+JafopzU3s4/Z44cuM i/+qf3N+/p/34jW4of+YaQzQZI/Glab91Gu540ePDI8
-> C2|J-grease |je;R;d -> ssh-ed25519 f31uNA eP9MiIZQs8j6/PocSCyRvNUFQXdPZetJPjrz4ReZbwA
V1hB5+X/bsklAn8HeRPukBNz5efwE0bT8pL9P58jWb0ZdkBXRpPXUacCjbm1njk cV/u5ijihDRgpOF9PaV5oxzkTpuo972S+ekPzPs4LT4
--- WpYUFBbDJptLs3YK9UBQfgfRngN7MFaTrmmWLMMKWxE -> vA-grease {
pČbđ<05>I•µWoň«, kÁ‘”•ZťQ®<51>\P”;năeAC_¨·64'Čp smNSOi0Et4PW98y+miaCzQtIJp4B+Z5mKMPKc4Vf8eU0q24RtCR8YryrVuxlF7WH
myDH7dBP3MGhltMuMpzi/9rQIYjmPol5BSjDjANVhrgj2E7hfPBw3DjcXKiSaZMW
YTOf
--- PcaNjf88InU5siJmdazbEPYDJd1YeTDVFkrYzZcsJgM
RQ){ÙŽÅŠ¥¾ ºvZ°Q8†#òæoî¾RPYG×ÜÒÑw<1E>Ö‹ h7

Binary file not shown.

View File

@ -1,13 +1,16 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 E8j6/g L6JKvzM29Su9WrpTXYds709Im89Bn1mIb5XUNi/P6wk -> ssh-ed25519 E8j6/g d1zXFjUit7YPN55uV8l2k3CVDFcKIdKBlSAwmUHY+nw
R7OjLQqaqvffrwSB/K43IAGYYiLmO9y+0BFKv65Rc8w Y+W5puz47ItyxU6eMYh/2C/s+Qs+CWfA+80tp14ZiZY
-> ssh-ed25519 xUMv2w A+XITd1k+ZbRENhYT7D+llj8s432GNHi5iCVGf5R+g4 -> ssh-ed25519 xUMv2w /pGFstD9CQoIfQ++vK4xsacup4DmJLrAbJc8DhbPyG0
3gb8GpE721I1iOhzlo23T2lkIBZk93iPjGc3jByogLQ BT9/wTt4UYUPQJL/ZJXNVBfAUUykiyXt2Pc2FQe9Dm4
-> ssh-ed25519 jo1MPA obUysJUglKrJ/oEHCp6zKljoL3ihi+bENlqp45saCFs -> ssh-ed25519 jo1MPA +GG0hnR/eBw122D4dZvbMcsIfQitviv2UUv3I4yiYAs
Q2h23BFO7cNkp2XmDpoE03U86N83Jsryf6GNMzLy2EI KCsDTbnfxRyY8xXBtaEg9GHMF0eHrF9Ss5OgSSQWDq8
-> ssh-ed25519 f31uNA xv/hgJrLtbX7qRBpkHs0fwa29xaozdywuLWeOsHZFyQ -> ssh-ed25519 JBrabQ KGZMHVVEwuGMkEqa5wM4/cZo7A9lnbySp1Sn2bA3wi4
PLgZwEqyiueLoLfppOMBhp0S+gwunPEB3j+VRNcML4o NlPafvcnBfs1S0iDKqG0zAg7/grGI3VVkWOWhFF5iHQ
-> `T!`LPM5-grease -> ssh-ed25519 f31uNA tEh1lMZ5BM/T1kuAJS3a9uirZ37atm+SRoDFHlOnKBA
3Q ip6L5nl7gXVD7UqkwFVfUWpUM0htLnVmBHIFUtnK5K4
--- 9W+QAbKfdMBX119Hf8t1ZdNbQ8QUN1as6qL6eSvIh34 -> Gh,!h[-grease Bqfg 5Mp&F< *
…ïÏÌ\â#!ãø†s6^†¸œ É‘,Û1è!h0giHžQˆÍØ‚{оVÇ mxpybjNX
--- TyFKdTP94CXHZg3iL0zb+OdKWLB1FbPwMXaNEkzdAHM
Ę<6€ů¶anOQ<4F>Ä^”“óŇă…čYPňßq2łjáĹ
zŘFgâ†cää“˙

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,9 +1,11 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 E8j6/g hgdVbcQfIHvJiJRe9r3q/v7NxC4iZSIt7S4h8ssg8z0 -> ssh-ed25519 E8j6/g Qz7+yH51tMzj1uY98P9MV0tXEf1DCSDCO2lIr/C5Bjc
m8m8yBCLpDN35B0rQC4Ku09TH96Qnzkm33db6KJaU3g 1B8DKpZVzVQfevZ1xfalrpaM40hZiBjL3rKBOwmueE0
-> ssh-ed25519 jo1MPA Sdr/lN+YUF5HTHgJgzya5dGlSy3aJOPnSn8+tPiqUyI -> ssh-ed25519 jo1MPA ZsuqgFfcyKEZINlcqBqc3mnmtM8yE7Vh6dtj4i/D5TI
vNyotaaDLjLb8un4mB4VwK99ufmpqfH8JcGBQ8zfFqI GAw5T8Mqd8LqGXtLZqJ+ADewL5H4wctHHbgIOZOZflg
-> nu:d]-grease -> ssh-ed25519 JBrabQ Zvf0y/ZYm9ogPC0fZV+J/FCIyRrP48X4ccoVTeV5bFQ
Cf35v94eity+boz3dhzFWtQEjnz68ot/m7Q uKIKyKDnrAdnDjPBP0oY3NktEBQK9O9VSAykFrjC+24
--- ILAAgk4TZ8C+Bimy1GqNWGGw7MB9ArhdCt/fN4uDbII -> yC7d,N9-grease eFX(X HYK 7L:a
yÊVÚÇ)•=Ÿ/«â;<3B>oò8v]ÌË=m0¥±âé´€ªj..Ǻ" È<>n™ÄÚ ¥Ý<OðÚ„]$'Ï<>ŒS1»Š<C2BB>fŸìXÃ<58>声E— ù ˜ŽdÌÌcºàûöS:”£SEËV ®²-ƒ\“ú¬áû…5nž<6E>«ü½p',6?"`i oj6ihhdnlM6qHEUSBecee/K563PIko1Krw8YNoO16cRHtt8y9w
--- i+jG579wY+HL4+iSuVU6naQJLiTbWonfzZvuJgyYl7o
 UÍI¢SFiµ<> Ì&â¿ mûrIá!šÂ##°ò±{Bª%sÊñÛM]k—« Ó\¤û<C2A4>¾¡eØW´“ ¤õ”='é+JdÖþ@8ž\pðûªz ô~,1oSàrn+ Å2ÆD=¥KÖŒPšç¢ÏTY°-S2M„Öƒ"2š¹

View File

@ -1,11 +1,11 @@
age-encryption.org/v1 age-encryption.org/v1
-> ssh-ed25519 E8j6/g F7h/Mq3rogVymYRt3IOzkDjbBK7I3sD1T4ceCmEDEXo -> ssh-ed25519 E8j6/g NZuccuIuBc6BV6hSYzyNZlzreL6m+ny6CpopOk23IXU
zUUHdvIyxF3rLEVl1jSDS7hAt4j+gYF3NHfhTKpppj0 9Ql8ZvhLUmtoSPGyd6kXVQ0VZdhFae50NiCcfhYsr4E
-> ssh-ed25519 jo1MPA Dq0CaqxGF3fWSLNQMmGnLBrxd71YWMn4XHGH0gHUWXY -> ssh-ed25519 jo1MPA 7Uzs08jqKXGNDKRLlN8RfEUlCgdrX5rB42GMO+DZCHk
RCC6r7JQHEqT93qSLkRIEV00E0JiIZCipjcSgREw0GQ YqBJyeRPepYrV32ENUvIlco5qjpFcbwIxnfGUxrbTME
-> O*-grease LdJ1E\ =rA~m=U\ tRE$^ Sp!>@ -> ssh-ed25519 JBrabQ lNBa2QQK3kvaIhQsSuOrIC/MZI+OLGb+62yF53uGqik
qWkYBMCMgMuc32E7aU3dOzC9tZx9cTob4q1BaOpwaayn88/u17e4HRiNWsZDZ0Fj JRZKfqjo35uXYqb30A6XmQuBGQlDaMXTuQXVrjSK9Oc
FpRD7dVE3isCLpJoKzSSbVRwnZdkKWLeoEZlCQUcGmA -> o&4Y>`-grease 3VH RqXPQ_E <
--- SYU6o/b687IysT9BbpE4ah3Ux2eLXdP2v1tIIoJS/pg mZGs
õ<ßD<C39F>=o™|Aq --- t/cD29ZAnpVX6+vdvjsOgMTpzoiML46trO2I/+NDqe0
Þ”ÚÊšÖÊmG‰'2yàü3— öŽ¼Å»ùAÂ-„ˆé¡™³‚”ùM5îq“>ÚÇ¢9M5Šþ%Ž®Æâ%šäþ<C3A4>ˆ äl/T-K̉Fv]ŸÅ·zIš!|ø&QŠW<C5A0>Ðï*·,#êÆI /wĂä,čÓŞĎÉ?Ďk=îĎ<12>íł’ ŕŰR|ýÁŘŮ4ۦCJçO şůŘ„w˝Žďtźis .ŇJšÉĄM  KŻĆ†Q2o,ÂŐ6oY ;ő3ÉĽ­,ś1`4żQqÂÝ)v Ä ]ŠÉ—k#ë1Á<31>zzÔ

Binary file not shown.