Docker config changes, add nixarr host
This commit is contained in:
@@ -12,12 +12,8 @@
|
||||
];
|
||||
|
||||
hardware.graphics = {
|
||||
extraPackages = with pkgs; [
|
||||
amdvlk
|
||||
];
|
||||
extraPackages32 = with pkgs; [
|
||||
driversi686Linux.amdvlk
|
||||
];
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||
|
||||
@@ -19,4 +19,10 @@ in {
|
||||
arch = "x86_64-Linux";
|
||||
user = user;
|
||||
};
|
||||
nixarr = {
|
||||
hostname = "nixarr";
|
||||
dir = "nixarr";
|
||||
arch = "x86_64-Linux";
|
||||
user = user;
|
||||
};
|
||||
}
|
||||
|
||||
18
hosts/nixarr/configuration.nix
Normal file
18
hosts/nixarr/configuration.nix
Normal file
@@ -0,0 +1,18 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
../../nixos/base.nix
|
||||
];
|
||||
|
||||
networking.hostName = "nixarr";
|
||||
|
||||
system.stateVersion = "25.05";
|
||||
}
|
||||
11
hosts/nixarr/home.nix
Normal file
11
hosts/nixarr/home.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../../home/base.nix
|
||||
];
|
||||
|
||||
home.stateVersion = "25.05";
|
||||
}
|
||||
Reference in New Issue
Block a user