From e5f6ca254c07dbc79480d3e6285367c653e609a9 Mon Sep 17 00:00:00 2001 From: Bryan Ramos Date: Wed, 22 Mar 2023 00:20:23 -0400 Subject: [PATCH] Formatted --- README.md | 22 ++++++++++++---------- sysConfig/users.nix | 4 ++-- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ac1b39e..eac10e1 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,17 @@ # 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. 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... @@ -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 ```~/.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``` ## Contributions -Contributions and suggestions are welcome! -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! +If you find any issues or have any suggestions, +please feel free to open an issue or submit a pull request! diff --git a/sysConfig/users.nix b/sysConfig/users.nix index 9be2949..3b7caa6 100644 --- a/sysConfig/users.nix +++ b/sysConfig/users.nix @@ -3,8 +3,8 @@ { # Change users.users. to your username, I don't recommend messing with extraGroups users.users.bryan = { - isNormalUser = true; - extraGroups = [ "wheel" "networkmanager" "home-manager" "input" "video" "audio" "kvm" "libvirtd" ]; + isNormalUser = true; + 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