Giter Site home page Giter Site logo

csit321-fyp-nix's Introduction

NixOS Development Environment

This setup is for the LiveCD GNOME installation.

Open the terminal with Console and enter the following:

github='https://raw.githubusercontent.com/mkamsani/CSIT321-FYP-Nix/main/'
cd /etc/nixos
sudo cp configuration.nix configuration.nix.bak
sudo curl $github/configuration.nix

You should see the output of a configuration file.

Next, we download the file into /etc/nixos directory. In the same terminal:

sudo rm -f configuration.nix
sudo curl -o $HOME/.p10k.zsh $github/.p10k.zsh
sudo curl -o configuration.nix $github/configuration.nix
sudo nixos-rebuild switch

NixOS will fetch the required packages, and build the system based on the configuration file.

You might see the following output during the build:

trace: warning: optionsDocBook is deprecated since 23.11 and will be removed in 24.05

This is not caused by the configuration, the warning will disappear in a future update:

https://discourse.nixos.org/t/warning-optionsdocbook-is-deprecated-since-23-11-and-will-be-removed-in-24-05/31353/2


Reboot the system, open the terminal again:

sudo nix-collect-garbage --delete-old

This removes unused packages from the system.

To add/remove packages or modify your configuration, edit the /etc/nixos/configuration.nix file.

csit321-fyp-nix's People

Contributors

mkamsani 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.