home-config/nix-home-manager/home.nix

8d9871bd1f3cfd3d57545c91da5e7f9166328f12 · 2.9 KB · 91 lines raw

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 = "ryan";
7 home.homeDirectory = "/home/ryan";
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 = "23.11"; # Please read the comment before changing.
17
18 # This value will set some environment variables to allow home-manager to
19 # function better outside of NixOS
20 nixpkgs.config.allowUnfree = true;
21 #targets.genericLinux.enable = true;
22 fonts.fontconfig.enable = true;
23
24 # The home.packages option allows you to install Nix packages into your
25 # environment.
26 home.packages = with pkgs; [
27 # # Adds the 'hello' command to your environment. It prints a friendly
28 # # "Hello, world!" when run.
29 # pkgs.hello
30 yt-dlp
31 #pass
32 rustup
33 zoxide
34 nodePackages.pnpm
35 gcc
36 pkg-config
37 wttrbar
38 swww
39 wl-clip-persist
40 gifski
41 waypaper
42 gdu
43 spotify-player
44 hyprpicker
45
46 # # It is sometimes useful to fine-tune packages, for example, by applying
47 # # overrides. You can do that directly here, just don't forget the
48 # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
49 # # fonts?
50 # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
51
52 # # You can also create simple shell scripts directly inside your
53 # # configuration. For example, this adds a command 'my-hello' to your
54 # # environment:
55 # (pkgs.writeShellScriptBin "my-hello" ''
56 # echo "Hello, ${config.home.username}!"
57 # '')
58 ];
59
60 # Home Manager is pretty good at managing dotfiles. The primary way to manage
61 # plain files is through 'home.file'.
62 home.file = {
63 # # Building this configuration will create a copy of 'dotfiles/screenrc' in
64 # # the Nix store. Activating the configuration will then make '~/.screenrc' a
65 # # symlink to the Nix store copy.
66 # ".screenrc".source = dotfiles/screenrc;
67
68 # # You can also set the file content immediately.
69 # ".gradle/gradle.properties".text = ''
70 # org.gradle.console=verbose
71 # org.gradle.daemon.idletimeout=3600000
72 # '';
73 };
74
75 # You can also manage environment variables but you will have to manually
76 # source
77 #
78 # ~/.nix-profile/etc/profile.d/hm-session-vars.sh
79 #
80 # or
81 #
82 # /etc/profiles/per-user/ryan/etc/profile.d/hm-session-vars.sh
83 #
84 # if you don't want to manage your shell through Home Manager.
85 home.sessionVariables = {
86 # EDITOR = "emacs";
87 };
88
89 # Let Home Manager install and manage itself.
90 programs.home-manager.enable = true;
91 }