Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smravec/nixos-config
Minimalistic Sway rice + NixOS
https://github.com/smravec/nixos-config
linux nix nixos rice sway waybar wayland
Last synced: 3 months ago
JSON representation
Minimalistic Sway rice + NixOS
- Host: GitHub
- URL: https://github.com/smravec/nixos-config
- Owner: smravec
- Created: 2023-03-06T13:14:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T19:23:51.000Z (over 1 year ago)
- Last Synced: 2024-02-17T15:34:48.182Z (12 months ago)
- Topics: linux, nix, nixos, rice, sway, waybar, wayland
- Language: Nix
- Homepage:
- Size: 9.13 MB
- Stars: 28
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NixOS Config
Minimal Sway NixOS rice with full silent boot
## Installation
Install nixos with this guide (make sure to use systemd boot)
https://nixos.org/manual/nixos/stable/
Clone this repository (logged in as user)
```
cd ~
```
```
git clone https://github.com/smravec/nixos-config
```
### Nixos
Go to ``nixos/networking/networks.nix`` and setup wifi (in the cloned repository)
Copy ``/etc/nixos/hardware-configuration.nix`` to ``nixos/hardware-optimization``
```
cp /etc/nixos/hardware-configuration.nix ~/nixos-config/nixos/hardware-optimization/
```
Symlink this repository to ``/etc``
```
cd /etc
```
```
sudo rm -rf nixos
```
```
sudo ln -s ~/nixos-config/nixos/ .
```
Rebuild your system
```
sudo nixos-rebuild switch
```
### Home manager
Download home-manager standalone ( after adding the home-manager channel reboot to refresh the $NIX_PATH var )
https://nix-community.github.io/home-manager/index.html#sec-install-standalone
Symlink ``home-manager`` directory to ``~/.config``
```
cd ~/.config
```
```
rm -rf nixpkgs
```
```
ln -s ~/nixos-config/home-manager/ nixpkgs
```
Add unstable channel
https://nix-community.github.io/home-manager/index.html#_how_do_i_install_packages_from_nixpkgs_unstable
Rebuild home-manager
```
home-manager switch
```
### Sway
Symlink sway config
```
cd ~/.config
```
```
ln -s ~/nixos-config/nixos/wayland/sway/ .
```
***PS: This config is made for the Framework laptop 11th gen***