aboutsummaryrefslogtreecommitdiffstats
path: root/home/root/common/core/default.nix
blob: 2290509060ca1c01705e4192aa1d36bc9fdf97b6 (plain)
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
{ config, lib, pkgs, outputs, ... }:
{
  imports = [
    ./bash.nix
    ./git.nix
    ./ssh.nix
    ./tmux
    ./vim
    ./zsh
  ];

  home = {
    username = lib.mkDefault "root";
    homeDirectory = lib.mkDefault "/home/${config.home.username}";
    stateVersion = lib.mkDefault "23.11";
  };

  #home.packages = builtins.attrValues {
  #  inherit (pkgs)
  #    wget
  #    zip;
  #};

  nix = {
    package = lib.mkDefault pkgs.nix;
    settings = {
      experimental-features = [ "nix-command" "flakes" "repl-flake" ];
      warn-dirty = false;
    };
  };

  programs.home-manager.enable = true;
}