/ home.nix
home.nix
 1  { config, pkgs, ... }:
 2  
 3  {
 4    # Home Manager needs a bit of information about you and the paths it should
 5    # manage.
 6    home.username = "uname";
 7    home.homeDirectory = "/home/uname";
 8  
 9    # This value determines the Home Manager release that your configuration is
10    # compatible with. This helps avoid breakage when a new Home Manager release
11    # introduces backwards incompatible changes.
12    #
13    # You should not change this value, even if you update Home Manager. If you do
14    # want to update the value, then make sure to first check the Home Manager
15    # release notes.
16    home.stateVersion = "25.05"; # Please read the comment before changing.
17  
18    # The home.packages option allows you to install Nix packages into your
19    # environment.
20    home.packages = with pkgs; [
21      radicle-desktop
22      # # Adds the 'hello' command to your environment. It prints a friendly
23      # # "Hello, world!" when run.
24      # pkgs.hello
25  
26      # # It is sometimes useful to fine-tune packages, for example, by applying
27      # # overrides. You can do that directly here, just don't forget the
28      # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
29      # # fonts?
30      # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
31  
32      # # You can also create simple shell scripts directly inside your
33      # # configuration. For example, this adds a command 'my-hello' to your
34      # # environment:
35      # (pkgs.writeShellScriptBin "my-hello" ''
36      #   echo "Hello, ${config.home.username}!"
37      # '')
38    ];
39  
40    # Home Manager is pretty good at managing dotfiles. The primary way to manage
41    # plain files is through 'home.file'.
42    home.file = {
43      # # Building this configuration will create a copy of 'dotfiles/screenrc' in
44      # # the Nix store. Activating the configuration will then make '~/.screenrc' a
45      # # symlink to the Nix store copy.
46      # ".screenrc".source = dotfiles/screenrc;
47  
48      # # You can also set the file content immediately.
49      # ".gradle/gradle.properties".text = ''
50      #   org.gradle.console=verbose
51      #   org.gradle.daemon.idletimeout=3600000
52      # '';
53    };
54  
55    # Home Manager can also manage your environment variables through
56    # 'home.sessionVariables'. These will be explicitly sourced when using a
57    # shell provided by Home Manager. If you don't want to manage your shell
58    # through Home Manager then you have to manually source 'hm-session-vars.sh'
59    # located at either
60    #
61    #  ~/.nix-profile/etc/profile.d/hm-session-vars.sh
62    #
63    # or
64    #
65    #  ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
66    #
67    # or
68    #
69    #  /etc/profiles/per-user/uname/etc/profile.d/hm-session-vars.sh
70    #
71    home.sessionVariables = {
72      # EDITOR = "emacs";
73    };
74  
75    # Let Home Manager install and manage itself.
76    programs.home-manager.enable = true;
77  
78    programs.keepassxc.enable = true;
79  
80    programs.radicle.enable = true;
81  }