laptop: initial commit

This commit is contained in:
xinyangli 2023-03-29 21:14:37 +08:00
parent 5705b8145d
commit 4f066986f0
9 changed files with 548 additions and 0 deletions

19
flake.nix Normal file
View file

@ -0,0 +1,19 @@
{
inputs = {
# Pin nixpkgs to a specific commit
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# nixpkgs.url = "github:nixos/nixpkgs/nixos-22.11";
nur.url = "github:nix-community/NUR";
};
outputs = { self, nixpkgs, nur }: {
nixosConfigurations.xin-laptop = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
nur.nixosModules.nur
machines/laptop/configuration.nix
];
};
};
}