mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-27 10:36:12 +01:00
a5a651dbb9
Signed-off-by: main <magic_rb@redalder.org>
36 lines
774 B
Nix
36 lines
774 B
Nix
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
|
#
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
{
|
|
system = "x86_64-linux";
|
|
name = "recovery-usb";
|
|
module = {
|
|
pkgs,
|
|
inputs,
|
|
roots,
|
|
...
|
|
}: {
|
|
imports = [
|
|
(roots.nixos + "/modules")
|
|
inputs.home-manager.nixosModules.home-manager
|
|
"${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
|
|
];
|
|
home-manager.users."main" = {...}: {
|
|
imports = [(roots.home-manager + "/modules")];
|
|
|
|
magic_rb = {
|
|
programs = {
|
|
bash.enable = true;
|
|
ssh.enable = true;
|
|
};
|
|
};
|
|
|
|
home.stateVersion = "20.09";
|
|
};
|
|
magic_rb = {
|
|
hardware.recoveryUsb = true;
|
|
flakes.enable = true;
|
|
};
|
|
};
|
|
}
|