-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflake.nix
66 lines (61 loc) · 1.83 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# flake.nix, the mothership of the dot-files. Take your seats, the show is
# about to start.
{
description = "A bland config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/master";
flake-utils.url = "github:numtide/flake-utils";
home-manager.url = "github:rycee/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
rust-overlay.url = "github:oxalica/rust-overlay";
rust-overlay.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
};
outputs = { self, nixpkgs, flake-utils, home-manager, rust-overlay, hyprland }:
flake-utils.lib.eachDefaultSystem (system:
let
local-overlay = final: super: {
home-config = home-config.activationPackage;
waybar = super.waybar.override {
wireplumberSupport = false;
};
};
overlays = [
rust-overlay.overlays.default
local-overlay
];
pkgs = import nixpkgs {
inherit system;
inherit overlays;
};
home-config = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
./colors.nix
./wayland.nix
./font.nix
./gui-apps.nix
./cli-apps.nix
{
home = {
homeDirectory = "/home/jimbri01";
username = "jimbri01";
stateVersion = "22.11";
};
colors.theme = "rose-pine-moon";
xsession.enable = false;
systemd.user.startServices = true;
home.keyboard = {
layout = "us";
variant = "dvp";
options = [ "caps:escape" ];
};
}
];
};
in
{
defaultApp = pkgs.home-config;
packages.default = pkgs.home-config;
});
}