mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-12 01:42:02 +01:00
2998847634
Bumps `nixpkgs-unstable`, `nixpkgs-stable`, `home-manager-stable`, `home-manager-unstable`. Signed-off-by: magic_rb <magic_rb@redalder.org>
60 lines
1.2 KiB
Nix
60 lines
1.2 KiB
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
inputs,
|
|
lib',
|
|
config,
|
|
secret,
|
|
...
|
|
}: let
|
|
inherit
|
|
(lib')
|
|
flip
|
|
mapAttrs
|
|
loadSecrets
|
|
singleton
|
|
;
|
|
|
|
config' = config;
|
|
in {
|
|
flake.nixosConfigurations.heater = inputs.nixpkgs-stable.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = {
|
|
config' = config';
|
|
inputs' = inputs;
|
|
secret = loadSecrets inputs.secret;
|
|
};
|
|
modules =
|
|
singleton
|
|
({
|
|
pkgs,
|
|
config,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./arma3.nix
|
|
./grub.nix
|
|
./networking.nix
|
|
./filesystems.nix
|
|
./hardware.nix
|
|
./users.nix
|
|
./nixpkgs.nix
|
|
./impermenance.nix
|
|
../../common/remote_access.nix
|
|
|
|
inputs.notnft.nixosModules.default
|
|
inputs.self.nixosModules.notnft
|
|
inputs.impermenance.nixosModules.impermanence
|
|
inputs.uk3s-nix.nixosModules.ucontainers
|
|
inputs.uk3s-nix.nixosModules.ucontainersNetwork
|
|
];
|
|
|
|
services.fwupd.enable = true;
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
system.stateVersion = "23.11";
|
|
});
|
|
};
|
|
}
|