This repository contains the nixos configurations for my machines. The configuration uses the new flake feature (still unstable at the time).
.
├── deployments
│ ├── configuration-adchire.nix
│ ├── ...
│ ├── hardware-roger.nix
│ └── keys
├── nixos
│ ├── profiles
│ ├── programs
│ └── services
├── homes
│ ├── modules
│ ├── username2.nix
│ ├── ...
│ └── username.nix
├── pkgs
├── README.md
├── flake.lock
├── flake.nix
└── secrets.yamlThis folder is organized as follows:
- The folder
nixosis divided in two categories and contains the differents module to configure nixOS machines.profilesare higher level modules defining an ensemble of services and tools.servicesfor service configurations.- The folder
deployementsregroups the nix files used for the description of my differents system (theconfiguration.nixandhardware.nixfiles).
pkgscontains the definition of my personal packages needed in the deployement such as my website.homesContains the home manager configuration files.secrets.yamlfile containing different secrets, such as password, keys etc. It works nixsops-nix.
To install the configuration named roger:
nixos-rebuild switch --flake .#roger # as rootHome manager enables to manage dotfiles, and configure programs.
To activate my home-manager profile (named adfaure) run the command:
home-manager --flake .#graphical switch