small changes

This commit is contained in:
Wyatt J. Miller 2024-12-15 22:37:43 -05:00
parent adabefd821
commit ea8607eb41
5 changed files with 21 additions and 35 deletions

View File

@ -3,9 +3,7 @@
pkgs,
userName,
...
}: let
timeZone = null;
in {
}: {
imports = [
../../apps/flatpak.nix
../../pwrMgmt
@ -27,7 +25,7 @@ in {
hardware.bluetooth.enable = true;
# Set your timezone
time.timeZone = timeZone ? "America/Detroit";
time.timeZone = "America/Detroit";
# Enable touchpad
services.libinput.enable = true;

View File

@ -1,6 +0,0 @@
{...}: {
imports = [
./configuration.nix
./hardware-configuration.nix
];
}

View File

@ -171,7 +171,6 @@
enable = true;
dockerCompat = false;
extraPackages = with pkgs; [
podman-tui
docker-credential-helpers
cosign
crane

View File

@ -1,6 +0,0 @@
{...}: {
imports = [
./apps.nix
./configuration.nix
];
}

View File

@ -18,14 +18,15 @@ in {
};
};
config = lib.mkIf cfg.podman.enable {
config = lib.mkIf cfg.enable (lib.attrsets.optionalAttrs (config.nixpkgs.hostPlatform.isLinux) {
virtualisation.podman = {
enable = true;
dockerCompat = cfg.podman.dockerCompat;
dockerCompat = cfg.dockerCompat;
enableOnBoot = true;
defaultNetwork.settings.dns_enabled = true;
};
}
// {
environment.systemPackages =
[
pkgs.podman-compose
@ -34,6 +35,6 @@ in {
pkgs.dive
pkgs.container-diff
]
++ cfg.podman.extraPackages;
};
++ cfg.extraPackages;
});
}