mirror of
https://github.com/sadan4/dotfiles.git
synced 2024-11-16 23:04:39 -05:00
33 lines
761 B
Nix
33 lines
761 B
Nix
|
{
|
||
|
description = "Nixos config flake";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||
|
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
outputs = { self, nixpkgs, ... }@inputs: {
|
||
|
nixosConfigurations = {
|
||
|
default = nixpkgs.lib.nixosSystem {
|
||
|
specialArgs = {inherit inputs;};
|
||
|
modules = [
|
||
|
./boxes/desktop/configuration.nix
|
||
|
inputs.home-manager.nixosModules.default
|
||
|
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
# nixosConfigurations.default = nixpkgs.lib.nixosSystem {
|
||
|
# specialArgs = {inherit inputs;};
|
||
|
# modules = [
|
||
|
# ./boxes/desktop/configuration.nix
|
||
|
# inputs.home-manager.nixosModules.default
|
||
|
# ];
|
||
|
# };
|
||
|
};
|
||
|
}
|