mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-14 03:01:00 -05:00
Adding Parents Device
This commit is contained in:
parent
f11ae539c1
commit
56278c47b5
8 changed files with 203 additions and 11 deletions
48
hosts/parents/default.nix
Normal file
48
hosts/parents/default.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
# parents
|
||||
# System configuration for the Chromebox I am leaving at my parent's
|
||||
|
||||
{ inputs, globals, ... }:
|
||||
|
||||
with inputs;
|
||||
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
globals
|
||||
lix-module.nixosModules.default
|
||||
home-manager.nixosModules.home-manager
|
||||
sops-nix.nixosModules.sops
|
||||
disko.nixosModules.disko
|
||||
./hardware-configuration.nix
|
||||
./disk-config.nix
|
||||
./netbird.nix
|
||||
./nixos-anywhere.nix
|
||||
../../modules/common
|
||||
../../modules/nixos
|
||||
] {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
||||
physical = true;
|
||||
networking.hostName = "parents";
|
||||
networking.useDHCP = nixpkgs.lib.mkDefault true;
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/secrets.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
|
||||
age.sshKeyPaths = [ "/home/annika/.ssh/id_ed25519" ];
|
||||
};
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system.stateVersion = "23.11";
|
||||
home-manager.backupFileExtension = "backup";
|
||||
|
||||
audio.enable = false;
|
||||
gui.enable = false;
|
||||
services.openssh.enable = true;
|
||||
services.flatpak.enable = false;
|
||||
docker.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue