useChecksum = true

This commit is contained in:
Ingolf Wagner 2021-10-26 07:54:50 +02:00
parent b2b1f0bd7b
commit 485ae7311b
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 40 additions and 15 deletions

View file

@ -35,8 +35,9 @@
}; };
}; };
outputs = { self, sops-nix, nixpkgs, home-manager, home-manager-utils, doom-emacs-nix outputs = { self, sops-nix, nixpkgs, home-manager, home-manager-utils
, backup-module, nixpkgs-unstable, krops-lib, cluster-module, polygon-art, ... }: , doom-emacs-nix, backup-module, nixpkgs-unstable, krops-lib, cluster-module
, polygon-art, ... }:
let let
nixosSystem = nixpkgs.lib.nixosSystem; nixosSystem = nixpkgs.lib.nixosSystem;
@ -67,10 +68,7 @@
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
home-manager.users.mainUser = { home-manager.users.mainUser = {
imports = [ imports = [ doom-emacs-nix.hmModule home-manager-utils.hmModule ];
doom-emacs-nix.hmModule
home-manager-utils.hmModule
];
}; };
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;

View file

@ -14,19 +14,46 @@ let
''; '';
source = { source = {
secrets.file = "${secrets}/secrets"; secrets.file = {
path = "${secrets}/secrets";
useChecksum = true;
};
private_assets.pass = { private_assets.pass = {
dir = toString ~/.password-store; dir = toString ~/.password-store;
name = "krops/private_assets"; name = "krops/private_assets";
}; };
assets.file = toString ./assets; assets.file = {
configs.file = toString ./configs; path = toString ./assets;
library.file = toString ./library; useChecksum = true;
modules.file = toString ./modules; };
pkgs.file = toString ./pkgs; configs.file = {
system.file = toString ./system; path = toString ./configs;
"flake.nix".file = toString ./flake.nix; useChecksum = true;
"flake.lock".file = toString ./flake.lock; };
library.file = {
path = toString ./library;
useChecksum = true;
};
modules.file = {
path = toString ./modules;
useChecksum = true;
};
pkgs.file = {
path = toString ./pkgs;
useChecksum = true;
};
system.file = {
path = toString ./system;
useChecksum = true;
};
"flake.nix".file = {
path = toString ./flake.nix;
useChecksum = true;
};
"flake.lock".file = {
path = toString ./flake.lock;
useChecksum = true;
};
}; };
server = { name, host }: server = { name, host }: