mirror of
https://github.com/0x1d/nix.git
synced 2025-12-14 22:02:25 +01:00
initial commit
This commit is contained in:
29
os/flake.nix
Normal file
29
os/flake.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
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/i18n.nix
|
||||
./system/network.nix
|
||||
./system/sound.nix
|
||||
./system/xserver.nix
|
||||
./system/virtualisation.nix
|
||||
./system/packages.nix
|
||||
./users/demo.nix
|
||||
./users/master.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user