mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
Formatted
This commit is contained in:
parent
a79fc67d37
commit
e5f6ca254c
2 changed files with 14 additions and 12 deletions
22
README.md
22
README.md
|
|
@ -1,16 +1,17 @@
|
||||||
# NixOS / Home-Manager Flake Configuration
|
# NixOS / Home-Manager Flake Configuration
|
||||||
|
|
||||||
This repository is a stash for my current and WIP NixOS and Home-Manager flake setup.
|
This repository is a stash for my current NixOS and Home-Manager flake setup.
|
||||||
|
|
||||||
The repository is structured in two main directories: ```homeConfig``` and ```sysConfig```. The ```homeConfig``` directory contains all the files related to the standalone Home-Manager install and .config files, while the ```sysConfig``` directory contains a modular NixOS system configuration.
|
The repository is structured in two main directories: ```homeConfig``` and ```sysConfig```.
|
||||||
|
|
||||||
|
The ```homeConfig``` directory contains all the files related to home-manager.
|
||||||
|
The ```sysConfig``` directory contains a modular NixOS system configuration.
|
||||||
|
|
||||||
|
|
||||||
My personal dotfiles are included in the ```homeConfig/dotfiles``` directory.
|
My personal dotfiles are included in the ```homeConfig/dotfiles``` directory.
|
||||||
|
|
||||||
Feel free to clone/fork and use as you please.
|
Feel free to clone/fork and use as you please.
|
||||||
|
|
||||||
Don't forget to update and/or create new symlinks in ```homeConfig/home.nix```!
|
|
||||||
|
|
||||||
|
|
||||||
Here are useful resources for finding a list of nix packages and options...
|
Here are useful resources for finding a list of nix packages and options...
|
||||||
|
|
||||||
|
|
@ -43,17 +44,18 @@ Add this line anywhere to your nix configuration.
|
||||||
If you are using nix on a Linux distro, macOS or Windows WSL your config file defaults to
|
If you are using nix on a Linux distro, macOS or Windows WSL your config file defaults to
|
||||||
```~/.config/nix/nix.conf```
|
```~/.config/nix/nix.conf```
|
||||||
|
|
||||||
If you are using NixOS add the code snippet to your system configuration instead, located by default in ```/etc/nixos/configuration.nix```
|
If you are using NixOS add the code snippet to your system configuration instead,
|
||||||
|
located by default in ```/etc/nixos/configuration.nix```
|
||||||
|
|
||||||
## Home-Manager
|
### Home-Manager
|
||||||
|
|
||||||
> This is a standalone home-manager install, NOT a NixOS/darwin module. Which is the recommended, more portable and preferred way of using home-manager.
|
> This is a standalone home-manager install, NOT a NixOS/darwin module.
|
||||||
|
|
||||||
To initialize Home-Manager properly for the first time, run the following command:
|
To initialize Home-Manager properly for the first time, run the following command:
|
||||||
|
|
||||||
```nix run home-manager/master -- init```
|
```nix run home-manager/master -- init```
|
||||||
|
|
||||||
## Contributions
|
## Contributions
|
||||||
|
|
||||||
Contributions and suggestions are welcome!
|
If you find any issues or have any suggestions,
|
||||||
If you find any issues or have any improvements you'd like to suggest, please feel free to open an issue or submit a pull request!
|
please feel free to open an issue or submit a pull request!
|
||||||
|
|
|
||||||
|
|
@ -3,8 +3,8 @@
|
||||||
{
|
{
|
||||||
# Change users.users.<USERNAME> to your username, I don't recommend messing with extraGroups
|
# Change users.users.<USERNAME> to your username, I don't recommend messing with extraGroups
|
||||||
users.users.bryan = {
|
users.users.bryan = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "wheel" "networkmanager" "home-manager" "input" "video" "audio" "kvm" "libvirtd" ];
|
extraGroups = [ "wheel" "networkmanager" "home-manager" "input" "video" "audio" "kvm" "libvirtd" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
security.sudo.wheelNeedsPassword = false; # Feel free to remove this if you want to type your password on sudo
|
security.sudo.wheelNeedsPassword = false; # Feel free to remove this if you want to type your password on sudo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue