Files
nixos/flake.nix
T
2025-05-13 19:43:34 -05:00

36 lines
918 B
Nix

{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; # ensures version follows nixpkgs
hyprland.url = "github:hyprwm/Hyprland";
ags.url = "github:aylur/ags";
};
outputs = { self, nixpkgs, home-manager, ags, ... } @ inputs:
let
lib = nixpkgs.lib;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
nixosConfigurations = {
biscuit = lib.nixosSystem {
specialArgs = { inherit inputs system; };
inherit system;
modules = [ ./nixos/configuration.nix ];
};
};
homeConfigurations = {
biscuit = home-manager.lib.homeManagerConfiguration {
extraSpecialArgs = { inherit inputs; };
inherit pkgs;
modules = [ ./home-manager/home.nix
];
};
};
};
}