diff --git a/home.nix b/home.nix index bb88807..415840e 100644 --- a/home.nix +++ b/home.nix @@ -1,22 +1,29 @@ -# all my home stuff :3 -sysConf: { config, pkgs, lib, ... }: +{ config, pkgs, ... }: + { - home.sessionVariables = { - # system configuration - EDITOR = "nvim"; + # Home Manager needs a bit of information about you and the paths it should + # manage. + home.username = "hive"; + home.homeDirectory = "/home/hive"; - # cleanup homedir - CARGO_HOME = "${config.xdg.dataHome}/cargo"; + # This value determines the Home Manager release that your configuration is + # compatible with. This helps avoid breakage when a new Home Manager release + # introduces backwards incompatible changes. + # + # You should not change this value, even if you update Home Manager. If you do + # want to update the value, then make sure to first check the Home Manager + # release notes. + home.stateVersion = "23.05"; # Please read the comment before changing. - # fish config - fish_greeting = "✨️ heya ${sysConf.user}, welcome to ${sysConf.prettyHost} ~"; - }; - # installing my packages uvu + # The home.packages option allows you to install Nix packages into your + # environment. home.packages = with pkgs; [ bat diceware pwgen kitty + git + neovim schildichat-desktop dino mangohud @@ -44,6 +51,33 @@ sysConf: { config, pkgs, lib, ... }: appindicator ]); + + # Home Manager is pretty good at managing dotfiles. The primary way to manage + # plain files is through 'home.file'. + home.file = { + # # Building this configuration will create a copy of 'dotfiles/screenrc' in + # # the Nix store. Activating the configuration will then make '~/.screenrc' a + # # symlink to the Nix store copy. + # ".screenrc".source = dotfiles/screenrc; + + # # You can also set the file content immediately. + # ".gradle/gradle.properties".text = '' + # org.gradle.console=verbose + # org.gradle.daemon.idletimeout=3600000 + # ''; + }; + + home.sessionVariables = { + # system configuration + EDITOR = "nvim"; + + # cleanup homedir + CARGO_HOME = "${config.xdg.dataHome}/cargo"; + + # fish config + fish_greeting = "✨️ heya ${config.home.username}, welcome to $(hostname) ~"; + }; + # configure programs programs.home-manager.enable = true; programs.fish = { @@ -75,7 +109,4 @@ fish_vi_key_bindings }; programs.browserpass.enable = true; programs.gpg.enable = true; - - # don't uh, change this or something might break lol idk - home.stateVersion = "22.11"; }