commit cc74263a3b4a775b65fc470cd78491bbb7c9b97d Author: Maxiem Geldhof Date: Sun Oct 12 17:15:04 2025 +0200 Original commit diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..f5f51ff --- /dev/null +++ b/flake.lock @@ -0,0 +1,153 @@ +{ + "nodes": { + "agenix": { + "inputs": { + "darwin": "darwin", + "home-manager": "home-manager", + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1754433428, + "narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=", + "owner": "ryantm", + "repo": "agenix", + "rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d", + "type": "github" + }, + "original": { + "owner": "ryantm", + "repo": "agenix", + "type": "github" + } + }, + "darwin": { + "inputs": { + "nixpkgs": [ + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1744478979, + "narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=", + "owner": "lnl7", + "repo": "nix-darwin", + "rev": "43975d782b418ebf4969e9ccba82466728c2851b", + "type": "github" + }, + "original": { + "owner": "lnl7", + "ref": "master", + "repo": "nix-darwin", + "type": "github" + } + }, + "home-manager": { + "inputs": { + "nixpkgs": [ + "agenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1745494811, + "narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "home-manager_2": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1758463745, + "narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "release-25.05", + "repo": "home-manager", + "type": "github" + } + }, + "nix-darwin": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1759509947, + "narHash": "sha256-4XifSIHfpJKcCf5bZZRhj8C4aCpjNBaE3kXr02s4rHU=", + "owner": "nix-darwin", + "repo": "nix-darwin", + "rev": "000eadb231812ad6ea6aebd7526974aaf4e79355", + "type": "github" + }, + "original": { + "owner": "nix-darwin", + "ref": "nix-darwin-25.05", + "repo": "nix-darwin", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1759478543, + "narHash": "sha256-AetDmsj6lkwyEzAhnayQ8wXKkHremjCDqchKhSoAMhE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "cacb0bf08c2f851ec166ec665c777cf9fc542283", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-25.05-darwin", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "agenix": "agenix", + "home-manager": "home-manager_2", + "nix-darwin": "nix-darwin", + "nixpkgs": "nixpkgs" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6cd2655 --- /dev/null +++ b/flake.nix @@ -0,0 +1,40 @@ +{ + description = "Example nix-darwin system flake"; + + inputs = { + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-25.05-darwin"; + nix-darwin.url = "github:nix-darwin/nix-darwin/nix-darwin-25.05"; + nix-darwin.inputs.nixpkgs.follows = "nixpkgs"; + home-manager.url = "github:nix-community/home-manager/release-25.05"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; + agenix.url = "github:ryantm/agenix"; + agenix.inputs.nixpkgs.follows = "nixpkgs"; + }; + + outputs = + inputs@{ + self, + nix-darwin, + home-manager, + nixpkgs, + agenix, + }: + let + macbook = import ./systems/macbook/macbook.nix { + nix-darwin = nix-darwin; + home-manager = home-manager; + self = self; + agenix = agenix; + }; + + selene = import ./systems/selene/system.nix { + agenix = agenix; + }; + in + { + # Build darwin flake using: + # $ darwin-rebuild build --flake .#Maxiems-MacBook-Pro + darwinConfigurations."Maxiems-MacBook-Pro" = macbook; + nixosConfigurations.selene = selene; + }; +} diff --git a/keys/asus.pub b/keys/asus.pub new file mode 100644 index 0000000..0349595 --- /dev/null +++ b/keys/asus.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFdcSzVRG/BHxDx79A3kM5cZ3ZlMipcSorVIpxAJC2xF maxiem@maxiem-asustufgamingf15fx506lhfx506lh \ No newline at end of file diff --git a/keys/google-storage-key b/keys/google-storage-key new file mode 100644 index 0000000..b193284 Binary files /dev/null and b/keys/google-storage-key differ diff --git a/keys/hetzner.pub b/keys/hetzner.pub new file mode 100644 index 0000000..15105d9 --- /dev/null +++ b/keys/hetzner.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKcfmaqbtwSEydV2hge/aDWxfwlKOw/JJZZWy8ycjojH hetzner@maxiemgeldhof.com \ No newline at end of file diff --git a/keys/jellyfin-key b/keys/jellyfin-key new file mode 100644 index 0000000..3333758 --- /dev/null +++ b/keys/jellyfin-key @@ -0,0 +1,7 @@ +age-encryption.org/v1 +-> ssh-ed25519 gSqcWw 6TUQ5nbQ/j886U3+MNcFFiUN2GZqmRZryFxQsE5eMFI +KO/HfhxCWv3IEdEg+A9pEWYmlM+/YGXIdVe/sw4vpaE +-> ssh-ed25519 lFtjmQ oK6lK9vYjLg/lsUnoxMs6oftFQsSh5U6qkSZoWWrmB8 +rMcN88GFQ8VdxMKVMeJL/gJdrRgdKhs5wHaU2JohD+0 +--- a9kKvgDEZnMMhjuI2XmcAcCXNo3oNpVPCiSHp1ZiYDQ +Knv6&}>B?;a0`J7O(.LV4M9b |]&s5 \ No newline at end of file diff --git a/keys/macbook.priv b/keys/macbook.priv new file mode 100644 index 0000000..2584baf --- /dev/null +++ b/keys/macbook.priv @@ -0,0 +1,7 @@ +age-encryption.org/v1 +-> ssh-ed25519 M7OTMg 1m4v/Xmw+N9+pVrttLG1GnH3LCgJSQOOW6T34cIMq08 +kSwgueUJm4DCjgDdi5OGHnhtMNz1zb5lhyYfVmlYp7M +-> ssh-ed25519 CJLJQg 7zWWonoFKuLQWJaEZGysrGUjcwznXhrbtnpYPULjoWc +MplLAdVbgYTE99pIhFaMGnO+L6n/xL0kgTaVc4J2NKQ +--- jYPfNgq9uBO50jSTrwDJ2M0vrx5iYEf4yiGyy9PCA/o +3ƍϖ2>[y+D[c?1Se:V"X[[b 7iqYZ nԼ2ni"q k`ƃJ:QS٩g~E\Β|=vo}lfȑt[g>;dc1