Skip to content

Matax-Simon/instances

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome Image

NixOS

# rebuild and switch
sudo nixos-rebuild switch --flake .#matax-1 #use hostname here

# build and test
nix build .#nixosConfigurations.matax-1.config.system.build.toplevel --show-trace

Install from live iso. Disko

# Clone the repository
git clone https://github.com/bahrom04/nix-config.git

# Partition disks regarding to configuration
# Replace ? with available hostname
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko/latest -- --mode disko ./hosts/?/disk-configuration.nix

# Install using flake configurations on top of partitioned disks
# Replace ? with available hostname
sudo nixos-install --flake .#?

Code formatter and checkers

nix fmt .
nix flake check --all-systems --show-trace

Edit secrets

nix develop
EDITOR=vim sops ./secrets/secrets.yaml

Welcome Image

About

matax-simon serverining konfiguratsiyasi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages