39 lines
793 B
Nix
Raw Normal View History

2025-02-09 23:25:13 -05:00
{
description = "My system configuration";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
2025-02-10 01:17:58 -05:00
# nixgl.url = "github:nix-community/nixGL";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
2025-02-09 23:25:13 -05:00
};
outputs =
{
nixpkgs,
2025-02-10 01:17:58 -05:00
# nixgl,
home-manager,
2025-02-09 23:25:13 -05:00
...
}:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in
{
2025-02-10 01:17:58 -05:00
defaultPackage.${system} = home-manager.defaultPackage.${system};
homeConfigurations."deck" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
2025-02-09 23:25:13 -05:00
2025-02-10 01:17:58 -05:00
modules = [ ./home.nix ];
};
2025-02-09 23:25:13 -05:00
};
2025-02-10 01:17:58 -05:00
nixConfig = {
experimental-features = [
"nix-command"
"flakes"
];
};
2025-02-09 23:25:13 -05:00
}