You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
918 B
38 lines
918 B
{
|
|
description = "A very basic flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11";
|
|
home-manager = {
|
|
url = github:nix-community/home-manager;
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
|
let
|
|
username = "chrigi";
|
|
lib = nixpkgs.lib;
|
|
in {
|
|
nixosConfigurations.nix-f16 = lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
];
|
|
};
|
|
# home-manager-config = {
|
|
# fw16-chrigi = home-manager.lib.homeManagerConfiguration {
|
|
# inherit system pkgs;
|
|
# username = ${username};
|
|
# homeDirectory = "/home/${username}";
|
|
# stateVersion = "23.11";
|
|
# configuration = {
|
|
# imports = [
|
|
# ./home.nix
|
|
# ];
|
|
# };
|
|
# };
|
|
# };
|
|
};
|
|
}
|
|
|
|
|