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

bde398cb8c3dd49ec9d726ef9bef8e6c99766c46 · 3.3 KB · 109 lines raw

1 { config, pkgs, hyprland, nixgl, ... }:
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 # wayland.windowManager.hyprland.enable = true;
25
26 # The home.packages option allows you to install Nix packages into your
27 # environment.
28 home.packages = with pkgs; [
29 # # Adds the 'hello' command to your environment. It prints a friendly
30 # # "Hello, world!" when run.
31 # pkgs.hello
32 yt-dlp
33 #pass
34 rustup
35 zoxide
36 nodePackages.pnpm
37 gcc
38 aerc
39 pkg-config
40 wttrbar
41 swww
42 wl-clip-persist
43 gifski
44 waypaper
45 gdu
46 spotify-player
47 hyprpicker
48 hyprlock
49 xwayland
50 xdg-desktop-portal
51 xdg-desktop-portal-gtk
52
53 # Flakes specific things defined in flake.nix
54 hyprland.packages.${pkgs.system}.default
55 hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
56 nixgl.packages.${pkgs.system}.nixGLIntel
57
58 # Fonts!
59 noto-fonts
60 liberation_ttf
61 noto-fonts-cjk
62 noto-fonts-emoji
63
64 # # It is sometimes useful to fine-tune packages, for example, by applying
65 # # overrides. You can do that directly here, just don't forget the
66 # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
67 # # fonts?
68 # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
69
70 # # You can also create simple shell scripts directly inside your
71 # # configuration. For example, this adds a command 'my-hello' to your
72 # # environment:
73 # (pkgs.writeShellScriptBin "my-hello" ''
74 # echo "Hello, ${config.home.username}!"
75 # '')
76 ];
77
78 # Home Manager is pretty good at managing dotfiles. The primary way to manage
79 # plain files is through 'home.file'.
80 home.file = {
81 # # Building this configuration will create a copy of 'dotfiles/screenrc' in
82 # # the Nix store. Activating the configuration will then make '~/.screenrc' a
83 # # symlink to the Nix store copy.
84 # ".screenrc".source = dotfiles/screenrc;
85
86 # # You can also set the file content immediately.
87 # ".gradle/gradle.properties".text = ''
88 # org.gradle.console=verbose
89 # org.gradle.daemon.idletimeout=3600000
90 # '';
91 };
92
93 # You can also manage environment variables but you will have to manually
94 # source
95 #
96 # ~/.nix-profile/etc/profile.d/hm-session-vars.sh
97 #
98 # or
99 #
100 # /etc/profiles/per-user/ryan/etc/profile.d/hm-session-vars.sh
101 #
102 # if you don't want to manage your shell through Home Manager.
103 home.sessionVariables = {
104 # EDITOR = "emacs";
105 };
106
107 # Let Home Manager install and manage itself.
108 programs.home-manager.enable = true;
109 }