-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
24 lines (20 loc) · 914 Bytes
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# From the NVF manual: https://notashelf.github.io/nvf/index.xhtml
# These are the key elements to add to your system flake in order to run NVF in Home Manager.
# The manual also details other installation modes
{
description = "User's flake";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager";
nvf.url = "github:notashelf/nvf/v0.7"; # Version 0.7 presently required for base16 theming
};
outputs = { nixpkgs, home-manager, nvf, ... }: let
system = "x86_64-linux"; in {
# ↓ this is your home output in the flake schema, expected by home-manager
"your-username@your-hostname" = home-manager.lib.homeManagerConfiguration
modules = [
nvf.homeManagerModules.default # <- this imports the home-manager module that provides the options
./home.nix # <- your home entrypoint
];
};
}