diff options
Diffstat (limited to 'home-config/nix-home-manager/home.nix')
| -rw-r--r-- | home-config/nix-home-manager/home.nix | 186 |
1 files changed, 0 insertions, 186 deletions
diff --git a/home-config/nix-home-manager/home.nix b/home-config/nix-home-manager/home.nix deleted file mode 100644 index a969bf9..0000000 --- a/home-config/nix-home-manager/home.nix +++ /dev/null | |||
| @@ -1,186 +0,0 @@ | |||
| 1 | { config, pkgs, hyprland, nixgl, wpaperd, hyprpicker-git, hyprlock, mozff, clipboard-sync, hypr-dynamic-cursors, home-manager, ... }: | ||
| 2 | |||
| 3 | { | ||
| 4 | imports = [ | ||
| 5 | ./firefox-nightly/default.nix | ||
| 6 | ]; | ||
| 7 | # Home Manager needs a bit of information about you and the paths it should | ||
| 8 | # manage. | ||
| 9 | home.username = "ryan"; | ||
| 10 | home.homeDirectory = "/home/ryan"; | ||
| 11 | |||
| 12 | # Ignore news | ||
| 13 | news.display = "silent"; | ||
| 14 | |||
| 15 | # This value determines the Home Manager release that your configuration is | ||
| 16 | # compatible with. This helps avoid breakage when a new Home Manager release | ||
| 17 | # introduces backwards incompatible changes. | ||
| 18 | # | ||
| 19 | # You should not change this value, even if you update Home Manager. If you do | ||
| 20 | # want to update the value, then make sure to first check the Home Manager | ||
| 21 | # release notes. | ||
| 22 | home.stateVersion = "23.11"; # Please read the comment before changing. | ||
| 23 | |||
| 24 | # This value will set some environment variables to allow home-manager to | ||
| 25 | # function better outside of NixOS | ||
| 26 | nixpkgs.config.allowUnfree = true; | ||
| 27 | #targets.genericLinux.enable = true; | ||
| 28 | fonts.fontconfig.enable = true; | ||
| 29 | fonts.fontconfig.defaultFonts = { | ||
| 30 | monospace = [ "DejaVu Sans Mono" ]; | ||
| 31 | sansSerif = [ "DejaVu Sans" ]; | ||
| 32 | serif = [ "DejaVu Serif" ]; | ||
| 33 | }; | ||
| 34 | |||
| 35 | wayland.windowManager.hyprland = { | ||
| 36 | enable = true; | ||
| 37 | package = hyprland.packages.${pkgs.system}.hyprland; | ||
| 38 | portalPackage = hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland; | ||
| 39 | extraConfig = '' | ||
| 40 | ${builtins.readFile ../hypr/hyprland.conf} | ||
| 41 | ''; | ||
| 42 | plugins = [ hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors ]; | ||
| 43 | }; | ||
| 44 | |||
| 45 | programs.starship = { | ||
| 46 | enable = true; | ||
| 47 | settings = { | ||
| 48 | add_newline = false; | ||
| 49 | character = { | ||
| 50 | success_symbol = "[➜](bold green)"; | ||
| 51 | error_symbol = "[➜](bold red)"; | ||
| 52 | }; | ||
| 53 | time = { | ||
| 54 | disabled = false; | ||
| 55 | format = "\[ $time \]($style)"; | ||
| 56 | time_format = "%T"; | ||
| 57 | }; | ||
| 58 | }; | ||
| 59 | }; | ||
| 60 | |||
| 61 | programs.zen-browser = { | ||
| 62 | enable = true; | ||
| 63 | policies = import ./zenPolicies.nix; | ||
| 64 | profiles.default = import ./zenProfile.nix; | ||
| 65 | }; | ||
| 66 | |||
| 67 | # The home.packages option allows you to install Nix packages into your | ||
| 68 | # environment. | ||
| 69 | home.packages = with pkgs; [ | ||
| 70 | # # Adds the 'hello' command to your environment. It prints a friendly | ||
| 71 | # # "Hello, world!" when run. | ||
| 72 | # pkgs.hello | ||
| 73 | # nix # Used to keep nix up to date when I don't update the guix package | ||
| 74 | yt-dlp | ||
| 75 | #pass | ||
| 76 | rustup | ||
| 77 | zoxide | ||
| 78 | nodePackages.pnpm | ||
| 79 | gcc | ||
| 80 | aerc | ||
| 81 | pkg-config | ||
| 82 | wttrbar | ||
| 83 | wl-clip-persist | ||
| 84 | gifski | ||
| 85 | waypaper | ||
| 86 | gdu | ||
| 87 | spotify-player | ||
| 88 | #hyprpicker | ||
| 89 | xwayland | ||
| 90 | xdg-desktop-portal | ||
| 91 | xdg-desktop-portal-gtk | ||
| 92 | mpv | ||
| 93 | imv | ||
| 94 | libva | ||
| 95 | libvdpau | ||
| 96 | #wpaperd | ||
| 97 | hypridle | ||
| 98 | #latest.firefox-nightly-bin | ||
| 99 | eza | ||
| 100 | wl-mirror | ||
| 101 | starship | ||
| 102 | taskwarrior3 | ||
| 103 | delta | ||
| 104 | pyprland | ||
| 105 | satty | ||
| 106 | talosctl | ||
| 107 | kubectl | ||
| 108 | fluxcd | ||
| 109 | talhelper | ||
| 110 | sops | ||
| 111 | restic | ||
| 112 | kdePackages.kdenlive | ||
| 113 | bluetui | ||
| 114 | supercell-wx | ||
| 115 | |||
| 116 | # Here until i can fix firefox's stupid devtools issue | ||
| 117 | chromium | ||
| 118 | |||
| 119 | # Wrapped programs for some env variables | ||
| 120 | (pkgs.writeScriptBin "hyprlock" '' | ||
| 121 | #! ${pkgs.bash}/bin/bash | ||
| 122 | export LD_PRELOAD="/run/current-system/profile/lib/libpam.so.0:/run/current-system/profile/lib/libfontconfig.so:$LD_PRELOAD" | ||
| 123 | exec ${hyprlock.packages.${pkgs.system}.hyprlock}/bin/hyprlock "$@" | ||
| 124 | '') | ||
| 125 | |||
| 126 | # Flakes specific things defined in flake.nix | ||
| 127 | #hyprland.packages.${pkgs.system}.default | ||
| 128 | #hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland | ||
| 129 | nixgl.packages.${pkgs.system}.nixGLIntel | ||
| 130 | wpaperd.packages.${pkgs.system}.wpaperd | ||
| 131 | hyprpicker-git.packages.${pkgs.system}.hyprpicker | ||
| 132 | clipboard-sync.packages.${pkgs.system}.default | ||
| 133 | |||
| 134 | # Fonts! | ||
| 135 | noto-fonts | ||
| 136 | dejavu_fonts | ||
| 137 | liberation_ttf | ||
| 138 | noto-fonts-cjk-sans | ||
| 139 | noto-fonts-color-emoji | ||
| 140 | |||
| 141 | # # It is sometimes useful to fine-tune packages, for example, by applying | ||
| 142 | # # overrides. You can do that directly here, just don't forget the | ||
| 143 | # # parentheses. Maybe you want to install Nerd Fonts with a limited number of | ||
| 144 | # # fonts? | ||
| 145 | # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) | ||
| 146 | |||
| 147 | # # You can also create simple shell scripts directly inside your | ||
| 148 | # # configuration. For example, this adds a command 'my-hello' to your | ||
| 149 | # # environment: | ||
| 150 | # (pkgs.writeShellScriptBin "my-hello" '' | ||
| 151 | # echo "Hello, ${config.home.username}!" | ||
| 152 | # '') | ||
| 153 | ]; | ||
| 154 | |||
| 155 | # Home Manager is pretty good at managing dotfiles. The primary way to manage | ||
| 156 | # plain files is through 'home.file'. | ||
| 157 | home.file = { | ||
| 158 | # # Building this configuration will create a copy of 'dotfiles/screenrc' in | ||
| 159 | # # the Nix store. Activating the configuration will then make '~/.screenrc' a | ||
| 160 | # # symlink to the Nix store copy. | ||
| 161 | # ".screenrc".source = dotfiles/screenrc; | ||
| 162 | |||
| 163 | # # You can also set the file content immediately. | ||
| 164 | # ".gradle/gradle.properties".text = '' | ||
| 165 | # org.gradle.console=verbose | ||
| 166 | # org.gradle.daemon.idletimeout=3600000 | ||
| 167 | # ''; | ||
| 168 | }; | ||
| 169 | |||
| 170 | # You can also manage environment variables but you will have to manually | ||
| 171 | # source | ||
| 172 | # | ||
| 173 | # ~/.nix-profile/etc/profile.d/hm-session-vars.sh | ||
| 174 | # | ||
| 175 | # or | ||
| 176 | # | ||
| 177 | # /etc/profiles/per-user/ryan/etc/profile.d/hm-session-vars.sh | ||
| 178 | # | ||
| 179 | # if you don't want to manage your shell through Home Manager. | ||
| 180 | home.sessionVariables = { | ||
| 181 | # EDITOR = "emacs"; | ||
| 182 | }; | ||
| 183 | |||
| 184 | # Let Home Manager install and manage itself. | ||
| 185 | programs.home-manager.enable = true; | ||
| 186 | } | ||
