this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add README

Ben C 26614c49 78edc7af

+24 -2
+20
README.md
··· 1 + # NixOS Config 2 + 3 + > New! Improved! Weird! 4 + 5 + This repo contains the flake I use to configure any of my NixOS-configured devices. 6 + 7 + ## Structure 8 + 9 + - flake.nix: Central file for exporting all my configs and anything else I need. 10 + - lib.nix: Helper functions 11 + - systems/: All systems this flake configures, each system has some options that describe but the main thing that determines what configs they use are *roles*. 12 + - roles/: A role is a feature a system can have (ex. the `graphics` role enables Hyprland, GUI apps, etc). Roles can either be a singular nix file, or a folder of them if they're complicated. Files named `role1+role2.nix` represent an *overlap* role, which is applied if all roles delimited by `+` are turned on. 13 + - base/: This folder contains modules applied unconditionally to all systems. 14 + - res/: Non-nix files used in the config. Pictures, etc. 15 + - pkgs/: Custom nix packages made for my config. 16 + - create-sys/: WIP tool for automating the creation of new systems. Currently just has an interactive prompt for adding a new `.nix` file to `systems/`. 17 + 18 + ## Implementation 19 + 20 + I'm not going to lie, I have no idea what I'm doing. Is every feature here implmemented well? Definitely not, but that's okay!
-1
base/personal.nix
··· 9 9 users.users.bean = { 10 10 isNormalUser = true; 11 11 description = "Benjamin Crocker"; 12 - password = "asdf"; # TODO: TESTING: DELETE 13 12 autoSubUidGidRange = true; 14 13 extraGroups = ["libvirtd" "networkmanager" "wheel" "video" "lpadmin" "wireshark"]; # TODO: Break up groups across files? 15 14 };
+4
roles/dev/git.nix
··· 1 1 {pkgs, ...}: { 2 + environment.systemPackages = with pkgs; [ 3 + gh 4 + ]; 5 + 2 6 programs.git = { 3 7 enable = true; 4 8 config = {
-1
roles/dev/python.nix
··· 1 1 {pkgs, ...}: { 2 2 environment.systemPackages = with pkgs; [ 3 3 python3 4 - python311Packages.django 5 4 poetry 6 5 pipenv 7 6 black