Moved packages to pi_common
This commit is contained in:
parent
0ab4defbe6
commit
799e9fd22e
13
Deployments/pi_common.nix
Normal file
13
Deployments/pi_common.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
# Configuration common to all my servers
|
||||||
|
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
environment = { # Set the system-wide environment
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
lsusb # Tools for working with USB devices, such as lsusb
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
|
@ -11,6 +11,7 @@
|
||||||
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||||||
../Hardware/raspberry_pi_3_model_B.nix
|
../Hardware/raspberry_pi_3_model_B.nix
|
||||||
../Deployments/host_common.nix
|
../Deployments/host_common.nix
|
||||||
|
../Deployments/pi_common.nix
|
||||||
../Hosts/pi-tri.nix
|
../Hosts/pi-tri.nix
|
||||||
../Hosts/pi-ceithir/nix
|
../Hosts/pi-ceithir/nix
|
||||||
];
|
];
|
||||||
|
@ -34,10 +35,6 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
lsusb # Tools for working with USB devices, such as lsusb
|
|
||||||
];
|
|
||||||
|
|
||||||
system.stateVersion = "19.09"; # Did you read the comment?
|
system.stateVersion = "19.09"; # Did you read the comment?
|
||||||
system.autoUpgrade.enable = true;
|
system.autoUpgrade.enable = true;
|
||||||
system.autoUpgrade.channel = https://nixos.org/channels/nixos-19.09;
|
system.autoUpgrade.channel = https://nixos.org/channels/nixos-19.09;
|
||||||
|
|
Loading…
Reference in a new issue