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

View file

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