.deck/flake.nix

38 lines
1 KiB
Nix
Raw Permalink Normal View History

2024-11-14 17:15:38 +01:00
{
description = "deck thing";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
system-manager = {
url = "github:numtide/system-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, flake-utils, system-manager, ... }: {
homeConfigurations.deck = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./home.nix ];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
systemConfigs.default = system-manager.lib.makeSystemConfig {
extraSpecialArgs.pkgs = import nixpkgs { system = "x86_64-linux"; config.allowUnfree = true; };
modules = [
./system.nix
];
};
};
}