dotfiles/nix/systems/recovery-usb.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2021-03-08 08:57:08 +01:00
inputs: {
system = "x86_64-linux";
modules = [
../nixos-modules/default.nix
inputs.home-manager.nixosModules.home-manager
(_: {
home-manager.users."main" =
{ ... }: {
imports = [ ../home-manager/modules/default.nix ];
magic_rb = {
pins = {
inherit (inputs)
nixpkgs
nixpkgs-unstable
nixpkgs-master
home-manager
nixng
fenix;
};
config = {
allowUnfree = true;
};
overlays = inputs.self.overlays;
programs = {
bash.enable = true;
ssh.enable = true;
};
};
home.stateVersion = "20.09";
};
magic_rb = {
pins = {
inherit (inputs)
nixpkgs
nixpkgs-unstable
nixpkgs-master
home-manager
nixng
fenix;
};
config = {
allowUnfree = true;
};
overlays = inputs.self.overlays;
hardware.recoveryUsb = true;
flakes.enable = true;
};
2021-03-08 08:57:08 +01:00
})
(import "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
2021-03-08 08:57:08 +01:00
];
}