mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 14:01:29 +01:00
31 lines
792 B
Nix
31 lines
792 B
Nix
{
|
|
description = "flake for nixos";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
|
|
home-manager.url = "github:nix-community/home-manager/release-23.05";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager }: {
|
|
nixosConfigurations = {
|
|
nixos = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
home-manager.nixosModules.home-manager
|
|
./configuration.nix
|
|
./system/boot.nix
|
|
./system/i18n.nix
|
|
./system/network.nix
|
|
./system/sound.nix
|
|
./system/xserver.nix
|
|
./system/virtualisation.nix
|
|
./system/packages.nix
|
|
./users/demo.nix
|
|
./users/master.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|