62 lines
1.7 KiB
Nix
62 lines
1.7 KiB
Nix
{
|
|
description = "Complete system and home config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
nur.url = "github:nix-community/nur";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
|
|
nixosConfigurations = {
|
|
nova = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
{
|
|
networking.hostName = "nova";
|
|
}
|
|
./system
|
|
./system/hardware-nova.nix
|
|
./system/gnome.nix
|
|
./system/btrbk.nix
|
|
./system/yubikey.nix
|
|
./system/alt.nix
|
|
];
|
|
};
|
|
romulus = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
{
|
|
networking.hostName = "romulus";
|
|
environment.systemPackages = [
|
|
nixpkgs.wl-clipboard
|
|
];
|
|
programs.sway.enable = true;
|
|
security.rtkit.enable = true;
|
|
}
|
|
./system
|
|
./system/hardware-romulus.nix
|
|
];
|
|
};
|
|
};
|
|
|
|
homeConfigurations = {
|
|
till = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay;
|
|
extraSpecialArgs = { inherit inputs; };
|
|
modules = [
|
|
./home
|
|
];
|
|
};
|
|
alt = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux.extend inputs.nur.overlay;
|
|
extraSpecialArgs = { inherit inputs; };
|
|
modules = [
|
|
./home/alt.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|