Skip to content

wenjinnn/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal NixOS config with Flake and Home Manager

screenshot

The old Arch config at Arch branch.

Why switch to NixOS?

For a lone time I'm seeking for a solution to manage my OS config, The Arch branch is a way that I manage my home config, but that's not enough, NixOS provided capability to manage system wide config, or even more, with Flake I can manage configuration of multiple system.

repo's structure base on nix-starter-config#standard

Stuff here

The ags config base on Aylur/dotfiles, with these different:

  • add hibernate button for powermenu, need to setup swap to make it work.
  • use hyprlock instead of lockscreen.js (more security, see this issue)
  • add a clipboard menu depends on cliphist, to trigger it, type :cp when launcher active
  • ocr for screenshot powered by tesseract
  • some bug fix for chinese font and more
  • remove favorite list on launcher, instead with whole applications list.
  • add scroll bar for all launcher.

Must have

Almost as same as Aylur/dotfiles (except asusctl) with these additional pkg:

  • cliphist
  • tesseract
  • jq

Installation

For NixOS users:

replace hardware-configuration.nix with your own, and change the username variable, you may also need remove this line from nixos hardware or replace it with your hardware model. then execute in local repo path:

$ sudo nixos-rebuild switch --flake .#nixos
$ home-manager switch --flake .#wenjin@nixos

Also you may need to unset some substituters if download speed to slow.

For other distributions, things under xdg could directly put on xdg base dir (e.g. you should put the file under xdg/config to $XDG_CONFIG_HOME).