Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 2 months ago
JSON representation

Minimalistic Sway rice + NixOS

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***