dotfiles/nixos/systems/gooseberry/default.nix
magic_rb 2998847634
Bump core inputs, switch servers to nixpkgs-stable
Bumps `nixpkgs-unstable`, `nixpkgs-stable`, `home-manager-stable`, `home-manager-unstable`.

Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-06-02 20:47:34 +02:00

55 lines
1 KiB
Nix

# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
#
# SPDX-License-Identifier: LGPL-3.0-or-later
{
inputs,
lib',
config,
...
}: let
inherit
(lib')
flip
mapAttrs
singleton
mkForce
;
config' = config;
in {
flake.nixosConfigurations.gooseberry = inputs.nixpkgs-stable.lib.nixosSystem {
system = "aarch64-linux";
specialArgs = {
config' = config';
inputs' = inputs;
secret = lib'.loadSecrets inputs.secret;
};
modules =
singleton
({
pkgs,
config,
...
}: {
imports = [
./bootloader.nix
./filesystems.nix
./users.nix
./nixpkgs.nix
./networking.nix
../../common/remote_access.nix
inputs.disko.nixosModules.disko
];
environment.systemPackages = [pkgs.ipmitool];
boot.initrd.systemd.enable = true;
time.timeZone = "Europe/Amsterdam";
system.stateVersion = "23.05";
});
};
}