mirror of
https://gitlab.com/ahoneybun/nix-configs.git
synced 2025-05-12 03:04:03 -06:00
107 lines
3.3 KiB
Nix
107 lines
3.3 KiB
Nix
{
|
|
description = "Generic System Flake file";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/release-24.11";
|
|
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
|
pinix.url = "github:remi-dupre/pinix";
|
|
};
|
|
|
|
outputs = inputs@{ self, nixpkgs, home-manager, nixos-hardware, pinix }: {
|
|
nixosConfigurations = {
|
|
"nixos" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./gnome.nix
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
};
|
|
|
|
"shepard" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./gnome.nix
|
|
./shepard.nix
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.aaronh = import ./home.nix;
|
|
}
|
|
];
|
|
};
|
|
|
|
"edi" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./edi.nix
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
};
|
|
|
|
"garrus" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./garrus.nix
|
|
./gnome.nix
|
|
./configuration.nix
|
|
nixos-hardware.nixosModules.system76
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.aaronh = import ./home.nix;
|
|
}
|
|
];
|
|
};
|
|
|
|
"pixel-slate" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./pixel-slate.nix
|
|
./configuration.nix
|
|
];
|
|
};
|
|
|
|
"drack" = nixpkgs.lib.nixosSystem {
|
|
system = "aarch64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./drack.nix
|
|
./gnome.nix
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.aaronh = import ./home.nix;
|
|
}
|
|
];
|
|
};
|
|
|
|
"vm" = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./vm.nix
|
|
./configuration.nix
|
|
./hardware-configuration.nix
|
|
];
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|