fix eval
All checks were successful
Hydra nixosConfigurations.container-default-x86_64-linux Hydra build #23366 of nixos-config:pr618:nixosConfigurations.container-default-x86_64-linux
Hydra nixosConfigurations.container-default-aarch64-linux Hydra build #23364 of nixos-config:pr618:nixosConfigurations.container-default-aarch64-linux
Hydra nixosConfigurations.container-default-riscv64-linux Hydra build #23365 of nixos-config:pr618:nixosConfigurations.container-default-riscv64-linux
Hydra nixosConfigurations.not522 Hydra build #23367 of nixos-config:pr618:nixosConfigurations.not522
Hydra checks.x86_64-linux.containers-default Hydra build #23363 of nixos-config:pr618:checks.x86_64-linux.containers-default
Hydra nixosConfigurations.not522-installer Hydra build #23368 of nixos-config:pr618:nixosConfigurations.not522-installer

This commit is contained in:
Charlotte 🦝 Delenk 2024-11-03 13:32:18 +01:00
parent 1733da5166
commit 1e7d2808cb
3 changed files with 8 additions and 6 deletions

View file

@ -1,4 +1,8 @@
{disko, ...}: {
{
disko,
home-manager,
...
}: {
imports = [
./riscv.nix
./containers/autoconfig.nix
@ -7,5 +11,6 @@
./secrets/sops.nix
disko.nixosModules.default
./hydra/build-server.nix
"${home-manager}/nixos"
];
}

View file

@ -2,6 +2,7 @@
config,
lib,
pkgs,
inTester,
...
}:
with lib; {
@ -13,7 +14,7 @@ with lib; {
};
};
config = mkIf config.environment.impermanence.enable {
config = mkIf (config.environment.impermanence.enable && config.environment.impermanence.users != []) {
home-manager.users = listToAttrs (map (name: {
inherit name;
value.home.persistence.default = {

View file

@ -1,14 +1,10 @@
{
home-manager,
impermanence,
inputs,
inputs',
config,
...
}: {
imports = [
"${home-manager}/nixos"
];
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;