fully added laptop to nix-secrets.
This commit is contained in:
parent
8c552faa1b
commit
6f5169947a
|
@ -1,22 +0,0 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}: let
|
||||
secretsPath = builtins.toString inputs.nix-secrets;
|
||||
in {
|
||||
imports = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = "${secretsPath}/secrets.yaml";
|
||||
age = {
|
||||
sshKeyPaths = ["${config.home.homeDirectory}/keys/age/master.txt"];
|
||||
keyFile = "/var/lib/sops-nix/key.txt";
|
||||
generateKey = true;
|
||||
};
|
||||
};
|
||||
}
|
|
@ -240,10 +240,10 @@
|
|||
"nix-secrets": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1717515079,
|
||||
"narHash": "sha256-R9oet/t4zJnLKYw5ZPq6WOaKNF+EMejlgr4+Y98FbzY=",
|
||||
"lastModified": 1717523958,
|
||||
"narHash": "sha256-fZzlvFG7fIGA4GIpMai8fdxeUU/bBxMacdDmDWN+Emk=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "a3bd4bad51a5b753f75dc8ff0c09140331320863",
|
||||
"rev": "23bdde0f479cdd6039555aee0680878249185715",
|
||||
"shallow": true,
|
||||
"type": "git",
|
||||
"url": "ssh://git@git.venberg.xyz:7920/Gabe/nix-secrets.git"
|
||||
|
|
|
@ -37,8 +37,7 @@ inputs.home-manager.lib.homeManagerConfiguration {
|
|||
../configs/home-manager/common.nix
|
||||
../configs/home-manager/syncthing.nix
|
||||
../configs/home-manager/email.nix
|
||||
../../configs/home-manager/tiny-irc.nix
|
||||
../configs/home-manager/terminal/voice.nix
|
||||
../configs/home-manager/tiny-irc.nix
|
||||
../configs/home-manager/secrets.nix
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
];
|
||||
|
|
6
justfile
6
justfile
|
@ -3,17 +3,17 @@ default:
|
|||
|
||||
nixos target=`hostname`:
|
||||
git add -AN
|
||||
nix flake lock --update-input nix-secrets
|
||||
nix flake update nix-secrets
|
||||
sudo nixos-rebuild --flake .#{{target}} switch
|
||||
|
||||
home-manager target=(`whoami`+"@"+`hostname`):
|
||||
git add -AN
|
||||
nix flake lock --update-input nix-secrets
|
||||
nix flake update nix-secrets
|
||||
home-manager --flake .#{{target}} switch
|
||||
|
||||
check:
|
||||
git add -AN
|
||||
nix flake lock --update-input nix-secrets
|
||||
nix flake update nix-secrets
|
||||
nix flake check --keep-going
|
||||
|
||||
bootstrap-home-manager target=(`whoami`+"@"+`hostname`):
|
||||
|
|
|
@ -5,9 +5,8 @@
|
|||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../modules/home-manager/beets.nix
|
||||
../../modules/home-manager/mpd.nix
|
||||
../../modules/home-manager/beets.nix
|
||||
../../configs/home-manager/beets.nix
|
||||
../../configs/home-manager/mpd.nix
|
||||
];
|
||||
home.packages = with pkgs; (lib.mkIf config.host.gui.enable [
|
||||
mpdevil
|
||||
|
|
Loading…
Reference in a new issue