Skip to content

thomas-bouvier/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lix dotfiles

My declarative, reproducible system built using Lix.

Installation

If you set up a new machine you should probably generate a new SSH key.

Put your age keys here:

vim /home/thomas/.config/sops/age/keys.txt

To rebuild the system:

nixos-rebuild switch --flake . --use-remote-sudo

To rebuild a remote system locally, and deploy it:

nixos-rebuild switch --flake .#coprin --target-host [email protected] --use-remote-sudo

Atuin

If you imported age keys, just login to retrieve your shell history:

atuin login
atuin sync

Obsidian

Just open Obsidian, login and sync everything including community plugins and settings (Active community plugin list and Installed community plugins options). Wait for the end of the synchronization, and restart the app.

Tailscale

Connect your machine to your Tailscale network and authenticate in your browser:

sudo tailscale up

In Dolphin (or somewhere else), use smb://user@ip to connect to a remote SMB share.

Useful commands

Optimize the Nix store by hard linking duplicate binaries:

nix-store --optimise

The Nix store accumulates entries which are no longer useful. They can be deleted:

nix-store --gc

Delete all generations older than a specific period (e.g. 30 days):

nix-collect-garbage --delete-older-than 30d

Future work

Bugs:

  • (localsend) LocalSend can't receive files when dns0 is enabled.
  • (coprin/dolphin) Some UI elements (especially in Dolphin) are not displayed in french.
  • (librewolf) privacy.resistFingerprinting = true prevents media upload and Leboncoin login from working.

These would be nice to have.

  • I would like to install the Ophirofox extension, which is not available on the Mozilla store.

These are not fully integrated yet.

Some resources I found useful

About

Declarative infrastructure using Lix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published