gpgkey and fix macos

This commit is contained in:
Tyrel Souza 2023-01-03 01:53:17 -05:00
parent 7375b63adf
commit fd0f7cb118
5 changed files with 153 additions and 7 deletions

View File

@ -23,9 +23,7 @@ clean:
home-manager expire-generations "-7 days" home-manager expire-generations "-7 days"
rebuild-macos: git-add rebuild-macos: git-add
./result/sw/bin/darwin-rebuild switch --flake _macos -v ./rebuild-macos.sh
rebuild-ubuntu: git-add rebuild-ubuntu: git-add
NIX_PATH=nixpkgs=/nix/var/nix/profiles/per-user/tyrel/channels/nixpkgs:/nix/var/nix/profiles/per-user/tyrel/channels ./rebuild-ubuntu.sh
nix run ./_ubuntu switch -vv
home-manager switch --flake ./_ubuntu

63
home/gpg/pubkey.asc Normal file
View File

@ -0,0 +1,63 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQSuBGDHXjgRDACArXWBIEKBXhKSX068nEMxCcZylf2NgGJ6Y4vXb4643YEzyhOz
9vf/GATpC69yleXbkspVlX/y7EMtq2AMjzJ+h5OMKGi3EghmMKOT1iqKBlN5o4Jz
NQuMzyPHeNZi4lDGY5PtwoNjZJyVk1qs/6TX1HqW5dH7r9LprmiIcJOovdROt+HW
hm1iu7446T9YAxCahgrJ3LdTXh1HpDXqDP201UoopJFsuWytoTDARju90k9W0oGi
kmHbjaOaRC8a0cWBOcnkI5yKliWtrPjdUTjF0pQOsoHhiA9410CgWYUAbtL6m1Ix
Wc5/fMkFWJUS4Im4Uq3ZoRB9ByeY7wZkiB97fWW1XxYChD3jK3J36M2gN2LEbZPt
r674FoySPTVTtSoZTxwNrOdCANDuqxOajVyUkpGjmV8dlCvX/WzoRaZpOLHo/6Lv
Fr8Yk4bVy546rdJbxdXbeW5k5ncD38zdKC6rAyFCm0DR16OTXR3OxJ/EsvvJCrhp
A/au/BBp3/gjEbsBANNJS8DO6OptXW24xVKpJrOSDh1gWgkSmuhLKqZcZ0hRC/4m
CRbEBGukcqGn2c8lCBJ9CcoVjYkaLJP394CRcVFRe+0kMnDuux0f/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darwin": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1671891118,
"narHash": "sha256-+GJYiT7QbfA306ex4sGMlFB8Ts297pn3OdQ9kTd4aDw=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "267040e7a2b8644f1fdfcf57b7e808c286dbdc7b",
"type": "github"
},
"original": {
"owner": "lnl7",
"repo": "nix-darwin",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
],
"utils": "utils"
},
"locked": {
"lastModified": 1672688183,
"narHash": "sha256-3sNEWKTg3XXVDnvzVatdyetiUQWL+ibJ1YkvxSk3PuM=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "c1a830c8fabb13f95f51ecf48552f0a794d8718a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1672600835,
"narHash": "sha256-PCrIP7joW/SaDYbKlZGV44bBcLOXI/woLVnVHwcJlWc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "fe1c6a5547c10a5f6b6debb22d548017f7e14263",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-22.11-darwin",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"darwin": "darwin",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
},
"utils": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

View File

@ -18,7 +18,7 @@
./default.nix ./default.nix
./home-manager.nix ./home-manager.nix
./brew.nix ./brew.nix
../hosts/_common/fonts.nix ../_common/fonts.nix
]; ];
}; };
}; };

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/bin/bash
git add . # YOLO hostname=$(hostname| sed 's/.local//')
./result/sw/bin/darwin-rebuild switch --flake _macos ./result/sw/bin/darwin-rebuild switch --flake ./hosts/$hostname