diff options
Diffstat (limited to 'home-manager/home.nix')
| -rw-r--r-- | home-manager/home.nix | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix new file mode 100644 index 0000000..0671c9b --- /dev/null +++ b/home-manager/home.nix @@ -0,0 +1,46 @@ +{ config, pkgs, ... }: +{ + home.username = "aargh"; + home.homeDirectory = "/home/aargh"; + home.stateVersion = "24.11"; + home.packages = with pkgs; [ + # # Adds the 'hello' command to your environment. It prints a friendly + # # "Hello, world!" when run. + # pkgs.hello + + # # It is sometimes useful to fine-tune packages, for example, by applying + # # overrides. You can do that directly here, just don't forget the + # # parentheses. Maybe you want to install Nerd Fonts with a limited number of + # # fonts? + # (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; }) + + # # You can also create simple shell scripts directly inside your + # # configuration. For example, this adds a command 'my-hello' to your + # # environment: + # (pkgs.writeShellScriptBin "my-hello" '' + # echo "Hello, ${config.home.username}!" + # '') + ]; + + home.file = { + ".bashrc".text = '' + bash_starship_init_code=$(starship init bash) + STARSHIP_DEV_MODE=1 + eval "$bash_starship_init_code" + ''; + # # 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 = { + # EDITOR = "emacs"; + }; + programs.home-manager.enable = true; +} |
