Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Denommus/nix-configurations
My global and home configurations on NixOS
https://github.com/Denommus/nix-configurations
Last synced: 3 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T20:46:32.000Z (3 months ago)
- Last Synced: 2024-08-03T21:45:36.612Z (3 months ago)
- Language: Nix
- Size: 156 KB
- Stars: 4
- Watchers: 3
- 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_srcThen 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