refactor(users/flokli): drop some optional args and complexity

Change-Id: Ifdcac829ede4ec469a7ce1b608e78bae11f2766b
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9834
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: edef <edef@edef.eu>
This commit is contained in:
Florian Klink 2023-10-29 19:28:07 +02:00 committed by clbot
parent 48b6242313
commit 85cd7d64fe
3 changed files with 7 additions and 9 deletions

View file

@ -1,12 +1,10 @@
{ depot, pkgs, lib, ... }:
{ depot, pkgs, ... }:
{
imports =
[
# Include the results of the hardware scan.
# ./hardware-configuration.nix
(depot.path.origSrc + "/users/flokli/nixos/archeology/hardware-configuration.nix")
];
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Use the TVL binary cache
tvl.cache.enable = true;

View file

@ -1,4 +1,4 @@
{ config, lib, pkgs, modulesPath, ... }:
{ lib, modulesPath, ... }:
{
imports =

View file

@ -8,7 +8,7 @@ let
in
{
archeologySystem = (depot.ops.nixos.nixosFor ({ modulesPath, ... }: {
archeologySystem = (depot.ops.nixos.nixosFor ({ ... }: {
imports = [
./archeology/configuration.nix
];