You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 days ago | |
---|---|---|
home-manager | 3 days ago | |
machines | 3 days ago | |
nixos_secrets@405b865ca3 | 4 weeks ago | |
system | 3 days ago | |
.gitignore | 1 month ago | |
.gitmodules | 1 month ago | |
README.md | 3 days ago | |
configuration.nix | 2 weeks ago |
README.md
NixOS
How to clone this repo?
git clone --recursiv git@codeberg.org:snd/nixos_conf.git
How to choose a device configuartion?
- add following line to
/etc/nixos/configuration.nix
# example
{ config, pkgs, ... }:
{
imports = [ /home/snd/.nix-dots/machines/thinkpad_e480/setup.nix ];
}
How to pull the latest commit of submodules?
- Update submodule
- has to be done one every device after the update has been commited and pulled
git submodule update --recursive --remote
- Commit
git commit nixos_secrets -m "pulled latest secrets"
I Screwed up and pushed/commited something in clear-text (method is not recommended)
git filter-repo --invert-paths --path <path to the file or directory>