nixos-configuration/flake.nix
2023-11-28 22:16:08 -06:00

52 lines
1.3 KiB
Nix

{
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
};
outputs = { self, nixpkgs, nixos-hardware, ... }@attrs: {
nixosConfigurations.firestar = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./btrbk-patched/default.nix
./desktop.nix
./firestar
./fonts.nix
./packages.nix
(import ./user.nix {
name = "Aode";
authorizedKeys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILojJubDCB2Mc4fw2mdp5Lzg5mTifXwawIVuyb3vr4lB asonix@graystripe"
];
})
{
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
};
}
];
};
nixosConfigurations.graystripe = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
nixos-hardware.nixosModules.framework-11th-gen-intel
./btrbk-patched/default.nix
./desktop.nix
./fonts.nix
./graystripe
./packages.nix
(import ./user.nix { name = "Tavi"; })
{
services.openssh = {
enable = true;
settings.PermitRootLogin = "no";
};
}
];
};
};
}