summaryrefslogtreecommitdiff
path: root/home/ebisu/default.nix
blob: 86236f37dbd32d6cd925287b333df52995c5bcf1 (plain) (blame)
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
{ config, inputs, ... }:
let
  username = "ebisu";
in
{
  imports = [ ./fortune ];
  programs.home-manager.enable = true;
  nixpkgs.overlays = [ inputs.nur.overlay ];

  home = {
    inherit username;

    homeDirectory = "/home/${username}";
    stateVersion = "24.05";

    sessionPath = [
      "${config.home.homeDirectory}/.local/bin"
      "${config.home.homeDirectory}/.local/share/cargo/bin"
      "${config.xdg.configHome}/.emacs.d/bin"
    ];
  };

  nixpkgs.config = {
    allowUnfree = true;
    # allowInsecure = true;
    # allowBroken = true;
    # allowUnfreePredicate = _: true;
  };
}