41 lines
1.3 KiB
Nix
41 lines
1.3 KiB
Nix
{
|
|
description = "A simple NixOS flake";
|
|
|
|
outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } (inputs.import-tree ./modules);
|
|
|
|
inputs = {
|
|
# NixOS official package source, using the nixos-26.05 branch here
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-26.05";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
helium = {
|
|
url = "github:schembriaiden/helium-browser-nix-flake";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
flake-file.url = "github:vic/flake-file";
|
|
import-tree.url = "github:vic/import-tree";
|
|
};
|
|
|
|
#outputs = { self, nixpkgs, home-manager, helium, ... }@inputs: {
|
|
# nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
# specialArgs = { inherit inputs; };
|
|
# modules = [
|
|
# # Import the previous configuration.nix we used,
|
|
# # so the old configuration file still takes effect
|
|
# ./configuration.nix
|
|
# home-manager.nixosModules.home-manager
|
|
# {
|
|
# home-manager.useGlobalPkgs = true;
|
|
# home-manager.useUserPackages = true;
|
|
# home-manager.users.snurm = import ./home.nix;
|
|
# home-manager.backupFileExtension = "backup";
|
|
# }
|
|
# ];
|
|
# };
|
|
#};
|
|
}
|