initial nix setum with Nina :3

This commit is contained in:
CDaut 2024-02-23 00:18:39 +01:00
commit e0b88992f5
Signed by: clara
GPG key ID: 223391B52FAD4463
6 changed files with 212 additions and 0 deletions

21
flake.nix Normal file
View file

@ -0,0 +1,21 @@
{
description = "Flake to manage local systems";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = inputs@{ nixpkgs, home-manager, ... }: {
nixosConfigurations = {
laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
home-manager.nixosModules.home-manager
];
};
};
};
}