mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-05 00:33:09 +02:00
a8c6f74470
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
31 lines
966 B
Nix
31 lines
966 B
Nix
{
|
|
description = "My NixOS system configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
nix-software-center.url = "github:vlinkz/nix-software-center";
|
|
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations.ultrapc = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./ultrapc/configuration.nix
|
|
];
|
|
};
|
|
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
|
|
homeConfigurations = {
|
|
ultra = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
|
extraSpecialArgs = { inherit inputs; };
|
|
modules = [ ./ultrapc/home.nix ];
|
|
};
|
|
};
|
|
};
|
|
}
|