2021-03-08 08:57:08 +01:00
|
|
|
inputs: {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
|
|
|
modules = [
|
2021-04-19 13:12:57 +02:00
|
|
|
../nixos-modules/default.nix
|
2021-07-03 20:40:29 +02:00
|
|
|
inputs.home-manager.nixosModules.home-manager
|
2021-04-11 00:25:36 +02:00
|
|
|
(_: {
|
2021-07-03 20:40:29 +02:00
|
|
|
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";
|
|
|
|
};
|
2021-04-11 00:25:36 +02:00
|
|
|
magic_rb = {
|
|
|
|
pins = {
|
2021-04-19 13:12:57 +02:00
|
|
|
inherit (inputs)
|
|
|
|
nixpkgs
|
|
|
|
nixpkgs-unstable
|
|
|
|
nixpkgs-master
|
2021-04-11 00:25:36 +02:00
|
|
|
|
2021-04-19 13:12:57 +02:00
|
|
|
home-manager
|
2021-07-03 20:40:29 +02:00
|
|
|
nixng
|
|
|
|
fenix;
|
2021-04-11 00:25:36 +02:00
|
|
|
};
|
|
|
|
config = {
|
|
|
|
allowUnfree = true;
|
|
|
|
};
|
|
|
|
overlays = inputs.self.overlays;
|
2021-04-19 13:12:57 +02:00
|
|
|
hardware.recoveryUsb = true;
|
2021-07-03 20:40:29 +02:00
|
|
|
flakes.enable = true;
|
2021-04-11 00:25:36 +02:00
|
|
|
};
|
2021-03-08 08:57:08 +01:00
|
|
|
})
|
2021-04-11 00:25:36 +02:00
|
|
|
(import "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix")
|
2021-03-08 08:57:08 +01:00
|
|
|
];
|
|
|
|
}
|