Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bsfishy/home.nix
My home-manager configuration
https://github.com/bsfishy/home.nix
Last synced: about 2 months ago
JSON representation
My home-manager configuration
- Host: GitHub
- URL: https://github.com/bsfishy/home.nix
- Owner: BSFishy
- License: mit
- Created: 2024-05-11T23:44:08.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-08-09T03:24:10.000Z (5 months ago)
- Last Synced: 2024-08-09T19:41:50.697Z (5 months ago)
- Language: Nix
- Size: 575 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# home.nix
This is my [home-manager](https://github.com/nix-community/home-manager) configuration.
This is how I configure my user environment on \*nix systems.
I have set it up in a modular format so that I can pick and choose which modules I want to use on a per-machine basis.## Installation
Follow the guide in [install.md](./install.md).
### Configuration
These modules are configured through home configuration.
The main configuration root is `distro`.
For example, you can enable the graphical aspects with something like this:```nix
{
distro = {
ui = {
enable = true;# Typically necessary for non-NixOS systems
nixGLPrefix = "${(import {}).auto.nixGLDefault}/bin/nixGL";
};
};
}
```On non-NixOS systems, [NixGL](https://github.com/nix-community/nixGL) is typically necessary for graphical applications to work.
The previous example has a NixGL prefix set as an example, but the channel will also need to be added:```shell
nix-channel --add https://github.com/nix-community/nixGL/archive/main.tar.gz nixgl && nix-channel --update
```Some common (default) configuration options are:
```nix
{
distro = {
# Utilities such as git, ssh, direnv, etc.
utilities.enable = true;# Editor setup (tmux & neovim)
editor.enable = true;# Interface setup for fonts, programs, etc.
ui.enable = false;
};
}
```