Coder Social home page Coder Social logo

amz-x / dotnix Goto Github PK

View Code? Open in Web Editor NEW
14.0 2.0 0.0 4.57 MB

Personal NixOS & MacOS Configurations

License: MIT License

Nix 97.10% Shell 2.90%
dotfiles flake nix nixos pantheon amd amdgpu steam linux nixpkgs home-manager macos nushell opensnitch ci dotnix

dotnix's Introduction

Personal NixOS System Configuration

Screenshot

NixOS Features

  • NixOS 23.11 (Tapir)
  • Home Manager
  • Linux Kernel 6.3.4-zen1
  • Mesa 23.1.3
  • LightDM (Display Manager)
  • Pantheon Deskop Environment
  • Nushell
  • Starship Prompt
  • Nano CLI Editor
  • Visual Studio Code
  • Opensnitch
  • Steam

NixOS

NixOS comes preinstalled with the Nix package manager, update the nix package manager configuration to enable the nix-command & flakes experimental features.

Enabling Nix Flakes

Edit /etc/nix/nix.conf and add/modify the following line:

experimental-features = nix-command flakes

Setup

Execute the following within the project directory:

# Basic switch
sudo nixos-rebuild switch --flake ./#machine-hostname

# Switch with upgrade
sudo nixos-rebuild switch --flake ./#machine-hostname --upgrade

# Example
sudo nixos-rebuild switch --flake ./#AMZ-Linux

Nix Flakes Commands

Inside the root of the project directory execute the following:

# Updates flake.lock
nix flake update

# Updates flake.lock with refreshed cache
nix flake update --refresh

Nix Store Maintenance

Execute the following, if you would like to run garbage collection:

sudo nix-collect-garbage -d

Resources & Manuals

Guides

Installers

Manuals

Nix & NixOS

Home Manager (Home Directory Management)

Projects Built With Nix

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.