Skip to content

Latest commit

 

History

127 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sov's Nix Configuration

My NixOS setup for Framework 13 (AMD Ryzen 7040) and eventually other equipment as I go

💻 Framework 13

This repository contains a NixOS configuration tailored for the Framework 13 (AMD Ryzen 7040).

⚙️ Features

icon niri

icon noctalia v5 + noctalia greeter

icon zeditor

icon zen browser with extenstions!

icon discord

icon steam

icon podman

Browser Extensions

  • Darkreader
  • Kagi search
  • Bitwarden
  • uBlock Origin

🔑 Keybinds

Niri (Useful Ones)

KeyBind Action
Mod+Slash show hotkeys
Mod+Q close window
Mod+F fullscreen
Mod+O toggle overview
Mod+R switch preset column width
Mod+Shift+R window fill the screen
Mod+Shift+P power off monitors

Noctalia (Useful Ones)

KeyBind Action
Mod+Space open app launcher
Mod+Comma open settings
Mod+S take a screenshot
Mod+V show clipboard
Mod+Esc show session

Open Apps

KeyBind Action
Mod+X open kitty
Mod+E open nautilus
Mod+Shift+E open zeditor
Mod+Shift+D open discord
Mod+B open zen browser

Function Keys

Framework function keys

Note

Most are handled by noctalia such as volume up/down, media controls, brightness, screenshots.

Shell Aliases

  ls = "eza";
  ll = "eza -l";
  la = "eza -a";
  lla = "eza -la";
  lt = "eza --tree";

🏃To Dos

  • Secrets
  • disko with encryption
  • mullvad vpn
  • remove noctalia-greeter

Live Disk Setup!

It is easiest to setup SSH on then use a second machine to monitor!

sudo systemctl start sshd
sudo passwd nixos

Connect on the second machine!

ssh nixos@<IP-ADDRESS>

Note

Identify your target disk using lsblk (e.g. /dev/nvme0n1), and run:

sudo mount -o remount,size=28G /nix/.rw-store
sudo mount -o remount,size=28G /

sudo NIX_CONFIG="extra-experimental-features = nix-command flakes pipe-operators" \
  nix run github:nix-community/disko/latest#disko-install -- \
  --write-efi-boot-entries \
  --flake github:ViSovereign/nixos-config/disko#frameworkboot \
  --disk main /dev/nvme0n1

No errors? reboot and log in! Connect to wifi with nmtui

git clone -b disko https://github.com/ViSovereign/nixos-config.git ~/Projects/nixos-config
cd ~/Projects/nixos-config
sudo nixos-rebuild switch --flake .#framework

Useful Nix Related Commands

Switch to new config using /nixos-config/modules/cli/nh.nix

nh os switch

Update tack packages

tack update <package>

Setup the fingerprint reader

fprintd-enroll

📯 Shout Outs

  • Thank you linusammon for showing me your nix repo this is based on and letting me pelt you with questions!
  • Thank you 1Solon for the wonderful framework 13 base configs for me to read and use.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages