nix/os/devices: refactor sduusb3128g -> sdep0
This commit is contained in:
parent
e515d26fbf
commit
cf18b61720
5 changed files with 6 additions and 6 deletions
12
nix/os/devices/steveej-rmvbl-sdep0/configuration.nix
Normal file
12
nix/os/devices/steveej-rmvbl-sdep0/configuration.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../profiles/common/configuration.nix
|
||||
../../profiles/graphical/configuration.nix
|
||||
../../profiles/removable-medium/configuration.nix
|
||||
|
||||
./system.nix
|
||||
./hw.nix
|
||||
];
|
||||
}
|
9
nix/os/devices/steveej-rmvbl-sdep0/hw.nix
Normal file
9
nix/os/devices/steveej-rmvbl-sdep0/hw.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# TASK: new device
|
||||
hardware.encryptedDisk = {
|
||||
enable = true;
|
||||
diskId = "usb-SanDisk_Extreme_Pro_12345978EC62-0:0";
|
||||
};
|
||||
}
|
5
nix/os/devices/steveej-rmvbl-sdep0/system.nix
Normal file
5
nix/os/devices/steveej-rmvbl-sdep0/system.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
networking.hostName = "steveej-rmvbl-sdep0"; # Define your hostname.
|
||||
}
|
20
nix/os/devices/steveej-rmvbl-sdep0/versions.nix
Normal file
20
nix/os/devices/steveej-rmvbl-sdep0/versions.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
channelsNixosStable = {
|
||||
ref = "nixos-19.09";
|
||||
rev = "e6d584f6dd22b587d5cdf5019f5e7dd2be370f61";
|
||||
};
|
||||
channelsNixosUnstable = {
|
||||
ref = "nixos-unstable";
|
||||
rev = "41d921292e922a6cd1aba64259341c244d4c2cc7";
|
||||
};
|
||||
nixpkgsMaster = {
|
||||
url = "https://github.com/NixOS/nixpkgs/";
|
||||
ref = "master";
|
||||
rev = "a6934e36534f8a87a78f877eee65c08fa9867ba5";
|
||||
};
|
||||
homeManagerModule = {
|
||||
url = "https://github.com/rycee/home-manager";
|
||||
ref = "master";
|
||||
rev = "286dd9b3088298e5a4625b517f8e72b1c62e4f74";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue