# This is your home-manager configuration file # Use this to configure your home environment (it replaces ~/.config/nixpkgs/home.nix) { inputs, outputs, lib, config, pkgs, ... }: { # You can import other home-manager modules here imports = [ ]; nixpkgs = { # You can add overlays here overlays = [ # Add overlays your own flake exports (from overlays and pkgs dir): outputs.overlays.additions outputs.overlays.modifications outputs.overlays.unstable-packages # You can also add overlays exported from other flakes: # neovim-nightly-overlay.overlays.default # Or define it inline, for example: # (final: prev: { # hi = final.hello.overrideAttrs (oldAttrs: { # patches = [ ./change-hello-to-hi.patch ]; # }); # }) ]; # Configure your nixpkgs instance config = { # Disable if you don't want unfree packages allowUnfree = true; }; }; home = { username = "chloe"; homeDirectory = "/home/chloe"; packages = with pkgs; [ kitty kitty-themes zsh-powerlevel10k cozette yt-dlp clapper hyfetch (nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; }) ]; }; programs = { kitty = import ./kitty.nix { inherit pkgs; }; # ZSH Config zsh = { enable = true; initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme"; shellAliases = { nixconfig = "nano ~/nix-config/nixos/configuration.nix"; pkgconfig = "nano ~/nix-config/nixos/pkgs.nix"; homeconfig = "nano ~/nix-config/home-manager/home.nix"; rebuild-conf = "sudo nixos-rebuild switch --flake ~/nix-config"; }; }; # Add stuff for your user as you see fit: firefox.enable = true; home-manager.enable = true; git.enable = true; }; # Allow home-manager to manage fonts fonts.fontconfig.enable = true; # Nicely reload system units when changing configs systemd.user.startServices = "sd-switch"; # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion home.stateVersion = "23.05"; }