dotfiles/flake.nix

27 lines
561 B
Nix
Raw Normal View History

2025-01-23 23:28:22 +00:00
{
description = "NixOS system";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2025-01-23 23:50:13 +00:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-01-23 23:28:22 +00:00
};
outputs =
2025-01-23 23:50:13 +00:00
{ nixpkgs, home-manager, ... }:
2025-01-23 23:28:22 +00:00
{
nixosConfigurations = {
"20212060" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./machines/laptop.nix
2025-01-23 23:50:13 +00:00
home-manager.nixosModules.home-manager
{ }
2025-01-23 23:28:22 +00:00
];
};
};
};
}