summaryrefslogtreecommitdiff
path: root/home/ebisu/default.nix
blob: 6e7a2d8f372d3dd4df781b3b1ddfd5aa83bb2b31 (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
30
31
32
33
34
35
36
37
38
{
  pkgs,
  config,
  inputs,
  ...
}:
let
  username = "ebisu";
in
{
  imports = [ ./fortune ];
  programs.home-manager.enable = true;
  nix.package = pkgs.nix;

  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 = {
    overlays = [ inputs.nur.overlay ];

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