427 Commits

Author SHA1 Message Date
Richie Cahill
8e51557a9b home manager updates 2024-05-28 00:44:11 +00:00
Richie Cahill
7a7aa94988 added internal.nix 2024-05-28 00:44:11 +00:00
Richie Cahill
722fd8ca8b created docker dir 2024-05-28 00:44:11 +00:00
Richie Cahill
89791e1f40 changing user to nobody 2024-05-28 00:44:11 +00:00
Richie Cahill
800f162723 test 2024-05-28 00:44:11 +00:00
Richie Cahill
5f507485f5 changing user 2024-05-28 00:44:11 +00:00
Richie Cahill
631698a1af fixed dyslexia 2024-05-28 00:44:11 +00:00
Richie Cahill
21d34e0669 fixed syncthing settings warning 2024-05-28 00:44:11 +00:00
Richie Cahill
1db5e57d1b fix environment settings 2024-05-28 00:44:11 +00:00
Richie Cahill
ba26488478 added import 2024-05-28 00:44:11 +00:00
Richie Cahill
ab04058e1b testing filebrowser 2024-05-28 00:44:11 +00:00
276775108a disable DHCP on palatine-hill
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-27 17:00:29 +00:00
aa03b14b80 move palatine-hill networking to its own module, switch to systemd-networkd
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-27 17:00:29 +00:00
Richie Cahill
ced5ee0633 start networkd rewrite 2024-05-27 17:00:29 +00:00
Richie Cahill
e76ef55ade setup brkubnet 2024-05-25 18:06:49 +00:00
Richie Cahill
14d4580534 test 2024-05-25 18:06:49 +00:00
Richie Cahill
0388993f40 testing kubernetes network 2024-05-25 18:06:49 +00:00
Richie Cahill
b106e7b9e2 added machineConfig to my home.nix 2024-05-22 01:10:07 +00:00
Richie Cahill
632f754e23 adding bluetooth 2024-05-22 00:52:11 +00:00
c69f81a338 re-enable server flag (oops)
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:17:49 +00:00
1589f59e3b Introduces non-server home-manager configs
Allows home-manager configs to be done on a server/non-server basis

Provides an example config by moving emacs to its own space (behind a
lib.optionals so only non-server machines accept it)

marks artemision and rhapsody-in-green as explicitly non-server machines

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:17:49 +00:00
32bd3b839f pin flake-parts and flake-compat
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
3522ebd8c5 applies all recommended deadnix fixes, and adds it to checks
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
f3f6c463ca remove nix-pre-commit
as we've changed to pre-commit-hooks, nix-pre-commit is no longer required

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
3e9aa38a43 temp disable arm
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
c0ca89728e revert statix fixes for empty_pattern
empty_pattern forces {...} to be converted to {_}, which breaks
situations where an import is done multiple ways with the same
attributes, and only some of the imported files use those
attributes (ex. systems/<host>/default.nix)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
1b65b78d13 fix all statix warnings and re-enable statix pre-commit
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-22 00:02:47 +00:00
0e090cb76a adds wakatime to alice's dependencies
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:42:43 +00:00
b10992795e add sops as a shared module for home-manager
also adds wakatime-api-key variable to personal sops-config (using new
sops capability)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
aa4bcc61a4 comment the shell construction
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
9c3330b006 convert if/else to lib.optionals
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
ce9e8d9eaa fix alignment and attrset
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
d4916c36d3 bulk re-ordering of imports
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
97eb8e2767 adds comments for pre-commit checks
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
93ebc1ed0c Add frequently used nix packages to the shell
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
262c18e03b fix erroneous output warning, remove vscode json file from check
vscode json files allow comments, but check-json only allows regular
json. the check now ignores settings.json

moves inherit for outputs to the let, as it was attempting to output the
outputs variable.

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
af7a901bbf clean up devshell inputs
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
9b2ee295ea remove commented out devshell
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
4015daea0a Full rewrite of devshell
migrates pre-commit to cachix's pre-commit-hooks

adds a ton of new hooks:
- check-added-large-files
- check-case-conflicts
- check-json
- check-merge-conflicts
- detect-private-keys
- fmt-check
- nil
- no-commit-to-branch
- statix (disabled for now)

migrates devshell to new devshells, set up modularly to have separate
functionality for sops, pre-commit-hooks, and our custom packages

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
db7aeb7f03 Documentation for lib/systems
Additionally:
- fix a typo in lib/default with the type hinting
- fix a likely breaking change with lib.rad-dev.genNonX86, as it was
returning an attrset instead of a list of attrsets
- rename var to cond in lib.rad-dev.genWrapper, to make it clearer that
a condition is expected

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
63ca84cfb8 change rad-dev to inherit in flake.nix
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
e94fe7d7f2 fix flake lock for nixpkgs-stable
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
46aee20d9e migrate system scanning logic to lib/
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
6b5dda1f39 remove nom.patch, change filterSource to path
nom.patch gets pulled in to the modules unless filtering is set up, but
we're not building custom nixos-rebuild anymore (and haven't for a
while)

migrates to builtins.path over builtins.filterSource since the semantics
seem a bit nicer

Removes all the filtering on the directory as we likely don't need it

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
0ddf01baef migrate constructSystem to lib/
migrates the bulk of constructSystem to lib/ and splits out the largest
chunks into individual functions (namely SOPS, home-manager, and user creation);

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-21 23:34:58 +00:00
Richie Cahill
20abca4a8b adding steam 2024-05-21 22:29:00 +00:00
0d6c05f708 wifi fixes
artemision is currently having some really weird issues whenever its
using the local unbound DNS, so this is demoting the local DNS and
adding some public networks

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-19 18:39:27 +00:00
github-actions[bot]
fa8d7e7ce4 flake.lock: Update
Flake lock file updates:

• Updated input 'fenix':
    'github:nix-community/fenix/2c4905096782e8e908205e7fa54ef987fba62793' (2024-05-13)
  → 'github:nix-community/fenix/f7737feef42fa8abe70de20b9a13b845a113cfeb' (2024-05-19)
• Updated input 'fenix/rust-analyzer-src':
    'github:rust-lang/rust-analyzer/5bf2f85c8054d80424899fa581db1b192230efb5' (2024-05-09)
  → 'github:rust-lang/rust-analyzer/6524922b1b1cfdf16d1e08785dec03f352f693a2' (2024-05-18)
• Updated input 'home-manager':
    'github:nix-community/home-manager/44677a1c96810a8e8c4ffaeaad10c842402647c1' (2024-05-12)
  → 'github:nix-community/home-manager/e3ad5108f54177e6520535768ddbf1e6af54b59d' (2024-05-17)
• Updated input 'nix-index-database':
    'github:Mic92/nix-index-database/f9027322f48b427da23746aa359a6510dfcd0228' (2024-05-12)
  → 'github:Mic92/nix-index-database/6b94c48c3bb22d5181333c3fb71beff44116e251' (2024-05-19)
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/a4e2b7909fc1bdf30c30ef21d388fde0b5cdde4a' (2024-05-08)
  → 'github:NixOS/nixos-hardware/b55712de78725c8fcde422ee0a0fe682046e73c3' (2024-05-18)
• Updated input 'nixos-modules':
    'github:SuperSandro2000/nixos-modules/01f2ebe7bd7845ecb939849b54809524ac19aa7c' (2024-05-12)
  → 'github:SuperSandro2000/nixos-modules/683b0fd959c6595317a98c9f080c4e93b4882605' (2024-05-16)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/21b7c1e62f1856bb793d41198ef4760058c6ebd5' (2024-05-14)
  → 'github:nixos/nixpkgs/68ead29211bb9890f494af3a8b5643a831d9d4c4' (2024-05-19)
• Updated input 'nixpkgs-stable':
    'github:nixos/nixpkgs/44072e24566c5bcc0b7aa9178a0104f4cfffab19' (2024-05-12)
  → 'github:nixos/nixpkgs/e7cc61784ddf51c81487637b3031a6dd2d6673a2' (2024-05-18)
• Updated input 'rust-overlay':
    'github:oxalica/rust-overlay/1d8fcbbfcfd3476c2665384a46ee9d07ef2b4dd9' (2024-05-14)
  → 'github:oxalica/rust-overlay/cfc8776011bd83508324115d353222475e1601c0' (2024-05-19)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/b6cb5de2ce57acb10ecdaaf9bbd62a5ff24fa02e' (2024-05-12)
  → 'github:Mic92/sops-nix/0bf1808e70ce80046b0cff821c019df2b19aabf5' (2024-05-19)
2024-05-19 16:00:36 +00:00
05fc189ec7 remove triggers-rebuild
as discussed as part of the PR

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-19 15:43:00 +00:00
7cd32e0018 remove autopull config from artemision (used for testing)
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
2024-05-19 15:43:00 +00:00