https://github.com/Denommus/nix-configurations
My global and home configurations on NixOS
https://github.com/Denommus/nix-configurations
Last synced: 8 months ago
JSON representation
My global and home configurations on NixOS
- Host: GitHub
- URL: https://github.com/Denommus/nix-configurations
- Owner: Denommus
- License: mit
- Created: 2020-09-04T01:06:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2025-07-03T13:45:26.000Z (8 months ago)
- Last Synced: 2025-07-03T14:49:35.738Z (8 months ago)
- Language: Nix
- Size: 268 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* My NixOS and Nix-Darwin configuration
[[https://nixos.org/][NixOS]] is an awesome Linux distribution that I'm using in my home
machine with success. These files are my configuration for it, and
it installs and configures all my applications and services.
[[http://daiderd.com/nix-darwin/][Nix-Darwin]] is a way to get NixOS-like configurations on the MacOS
system. I'm also using it on my work machine with success.
** Using it
Notice my configuration *only* supports x86-64 systems. I don't have
access to an ARM system to try to adapt this configuration for it.
You'll of course also need to replace my email configuration with your
own.
*** NixOS
You probably need to replace my ~hardware-config.nix~ with your own
(generated by the NixOS installer) and adjust the ~configuration.nix~
to use your own video drivers (mine uses Nvidia).
After that you need to create one symlink:
#+begin_src sh
sudo rm -rf /etc/nixos && sudo ln -s $PWD/ /etc/nixos
#+end_src
Then you can run:
#+begin_src sh
sudo nixos-rebuild switch
#+end_src
*** Darwin
Install nix-darwin according to the official instructions. Then just run
#+begin_src sh
darwin-rebuild switch --flake /path/to/nix-configurations
#+end_src