62 lines
1.8 KiB
Nix
62 lines
1.8 KiB
Nix
{
|
|
description = "Alex's super mega awesome nixos config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = github:NixOS/nixpkgs/nixos-unstable;
|
|
# unstable.url = "nixpkgs/nixos-unstable";
|
|
|
|
atau-nixpkgs.url = "git+https://git.atauno.com/atau/atau-nixpkgs?ref=main&rev=1e72f4b1e9b7a2991e3ccdebbe75d312f016da3b";
|
|
atau-nixpkgs.inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@attrs:
|
|
# let
|
|
# # system = "x86_64-linux";
|
|
# # pkgs = import nixpkgs {
|
|
# # # inherit system;
|
|
# # config.allowUnfree = true;
|
|
# # overlays = [ atau-nixpkgs.overlays.default ];
|
|
# # };
|
|
# in
|
|
{
|
|
nixosConfigurations.nixos76 = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./nixos76/system/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.alex = import ./nixos76/alex/home.nix;
|
|
# Optionally, use home-manager.extraSpecialArgs to pass
|
|
# arguments to home.nix
|
|
}
|
|
];
|
|
};
|
|
nixosConfigurations.ursa-minor = nixpkgs.lib.nixosSystem
|
|
{
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
./ursa-minor/configuration.nix
|
|
];
|
|
};
|
|
nixosConfigurations.ursa-major = nixpkgs.lib.nixosSystem
|
|
{
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
./ursa-major/configuration.nix
|
|
];
|
|
};
|
|
nixosConfigurations.atauno = nixpkgs.lib.nixosSystem
|
|
{
|
|
system = "aarch64-linux";
|
|
modules = [
|
|
./atauno/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|