2021-07-11 04:19:34 -06:00
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs = {
|
|
|
|
url = github:IvanMalison/nixpkgs/my-unstable;
|
|
|
|
};
|
|
|
|
taffybar = {
|
|
|
|
url = path:../dotfiles/config/taffybar/taffybar;
|
|
|
|
};
|
|
|
|
xmonad-contrib = {
|
|
|
|
url = path:../dotfiles/config/xmonad/xmonad-contrib;
|
|
|
|
};
|
|
|
|
xmonad = {
|
|
|
|
url = path:../dotfiles/config/xmonad/xmonad;
|
|
|
|
};
|
|
|
|
nixos-hardware.url = github:nixos/nixos-hardware;
|
|
|
|
};
|
|
|
|
outputs = { self, nixpkgs, nixos-hardware, taffybar, xmonad, xmonad-contrib }:
|
|
|
|
let tweaks = ({...}: {
|
|
|
|
nix.registry.nixpkgs.flake = nixpkgs;
|
|
|
|
nixpkgs.overlays = [ taffybar.overlay xmonad.overlay xmonad-contrib.overlay ];
|
|
|
|
});
|
2021-07-11 11:23:59 -06:00
|
|
|
piHardware = ({ ... }: {
|
|
|
|
imports = [
|
|
|
|
nixos-hardware.nixosModules.raspberry-pi-4
|
|
|
|
];
|
|
|
|
});
|
2021-07-11 04:19:34 -06:00
|
|
|
in
|
|
|
|
{
|
|
|
|
nixosConfigurations = {
|
|
|
|
ryzen-shine = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [ tweaks ./machines/ryzen-shine.nix ];
|
|
|
|
};
|
|
|
|
biskcomp = nixpkgs.lib.nixosSystem {
|
2021-07-11 11:23:59 -06:00
|
|
|
system = "aarch64-linux";
|
|
|
|
modules = [ tweaks piHardware ./machines/biskcomp.nix ];
|
2021-07-11 04:19:34 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|