-
Notifications
You must be signed in to change notification settings - Fork 1
/
jonathanl.nix
43 lines (43 loc) · 1.02 KB
/
jonathanl.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{
colours,
cornelis,
cornelis-vim,
nixpkgs,
configurationName,
impala,
helix,
}: {
pkgs,
config,
...
}: let
colorscheme = (import ./colors.nix).zenwritten-desat;
env-vars = {
EDITOR = "hx";
TERMINAL = "alacritty";
BROWSER = "firefox";
NIX_PATH = "nixpkgs=${config.xdg.configHome}/nix/inputs/nixpkgs";
};
default-font = "PragmataProMonoLiga Nerd Font";
in {
imports = [
colours.homeManagerModule
];
nix.registry.nixpkgs.flake = nixpkgs;
xdg.configFile = {
"nix/inputs/nixpkgs".source = nixpkgs.outPath;
"nvim/lua".source = ./programs/nvim/lua;
};
home = (import ./home.nix) {
inherit pkgs env-vars cornelis impala;
};
programs = (import ./programs/default.nix) {
inherit pkgs colorscheme default-font helix;
cornelis-vim = cornelis-vim;
term-env = env-vars;
};
services = (import ./services) {
inherit colorscheme default-font configurationName pkgs;
};
wayland.windowManager.sway = (import ./sway) {inherit pkgs colorscheme default-font;};
}