2023-03-25 09:20:16 +02:00
|
|
|
{
|
|
|
|
description = "My NixOS system configuration";
|
|
|
|
|
2023-03-25 11:49:15 +02:00
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
nix-software-center.url = "github:vlinkz/nix-software-center";
|
2023-03-27 17:41:56 +03:00
|
|
|
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
|
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-03-25 11:49:15 +02:00
|
|
|
};
|
2023-03-25 09:20:16 +02:00
|
|
|
|
2023-03-27 17:41:56 +03:00
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
2023-03-25 09:20:16 +02:00
|
|
|
nixosConfigurations.ultrapc = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
2023-03-25 11:49:15 +02:00
|
|
|
specialArgs = { inherit inputs; };
|
2023-03-25 09:20:16 +02:00
|
|
|
modules = [
|
2023-03-25 09:27:36 +02:00
|
|
|
./ultrapc/configuration.nix
|
2023-03-25 09:20:16 +02:00
|
|
|
];
|
|
|
|
};
|
2023-03-27 18:21:54 +03:00
|
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
2023-03-27 17:41:56 +03:00
|
|
|
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
|
|
|
|
homeConfigurations = {
|
|
|
|
ultra = home-manager.lib.homeManagerConfiguration {
|
|
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
2023-03-27 18:21:54 +03:00
|
|
|
# specialArgs = { inherit inputs; };
|
2023-03-27 17:41:56 +03:00
|
|
|
modules = [ ./ultrapc/home.nix ];
|
|
|
|
};
|
|
|
|
};
|
2023-03-25 09:20:16 +02:00
|
|
|
};
|
|
|
|
}
|