Giter Club home page Giter Club logo

vontoo's Introduction

NixOS Configuration

A minimal and fully declarative setup utilising NixOS, with a personalised setup for each machine.

Sytem Information

The structure of the configuration is as such:

flake.nix
│
├/Users
│ └/<surname initial>
│   └<user>
│
└/System
  ├/UI
  │ ├/Gnome
  │ └/Hyprland
  │
  ├/Configuration
  │ ├/Disk
  │ ├/Model
  │ ├/General
  │ ├/Packages
  │ └/Impermanence
  │
  └/Programs
    ├/Bat
    ├/LSD
    ├/Git
    ├/ZSH
    ├/Atuin
    ├/Helix
    ├/Firefox
    ├/Freetube
    └/Printing

flake.nix lies at the root of this directory, and each / represents a subfolder. Within each subfolder lies a default.nix, wherein lies the configuration for the given aspect of the system as described in the parent directory. The System and Users folders each have a default.nix file at their base, they serve the role of importing all the files that lie within the subfolders, which then get imported back to flake.nix in order to instantiate the system. The structure is arbitrary and is simply meant to provide clarity.

User-specific configuration is as such:

<user> = mkSystem <bool> toggle TLP.
                  <bool> toggle printing capabilities.
                  <bool> toggle AMD CPU settings.
                  <bool> toggle AMD GPU settings.
                  <bool> toggle Intel CPU settings.
                  <bool> toggle Intel GPU settings.
                  <string> keyboard language.
                  <string> locale settings.
                  <string> location, used to determine time.
                  <string> username.
                  <string> folder location for other user-specific configuration.
                  <string> password, encoded using `mkpasswd`.
                  <list> extra modules.
                  <list> overlays for nixpkgs.

Users are configured in Users/default.nix, each also imports their respective user folders further down the directory tree. These options are provided as such, and not in their respective user folders, simply because I deemed it more convenient. These are basic settings each user needs to have setup for a functional system. The configuration within the respective user directories consists of bookmarks (for FireFox) and highly specific configuration when deemed necessary by the given user. For example if someone has accesibility issues, those settings would be toggled in their respective folder.

Special Thanks

vontoo's People

Contributors

vonixxx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.