Coder Social home page Coder Social logo

nix-config's Introduction

nix-config

first time

  • Make the follwing changes the default nixos config with sudoedit /etc/nixos/configuration.nix

    • Add nix.settings.experimental-features = "nix-command flakes";
    • Add git to environment.systemPackages
  • Apply the updates: sudo nixos-rebuild switch

  • Clone this repo:

git clone https://github.com/howird/nix-config.git /home/howird/.config/nix
# or if you have your ssh keys:
git clone [email protected]:howird/nix-config /home/howird/.config/nix
  • Setup your system (remember to write the correct hostname):
sudo nixos-rebuild switch --flake .#<hostname>
home-manager switch --flake .#howird@<hostname>

next times

nixwird
nixwird-hm

Configuring

GNOME and KDE Plasma

  • We configure most of our settings declaratively using home-manager, so to update our desktop settings, we first cache our current settings with:
dconf dump / > old-conf.txt # GNOME
nix run github:pjones/plasma-manager / > old-conf.txt # KDE Plasma
  • Modify using the settings GUI, then:
dconf dump / > new-conf.txt # GNOME
nix run github:pjones/plasma-manager / > new-conf.txt # KDE Plasma
  • Then compare the differences with:
code --diff old-conf.txt new-conf.txt
  • Then update gnome.nix or kde.nix accordingly in ./home-manager/modules/desktops

nix-config's People

Contributors

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