Docker config changes, add nixarr host
This commit is contained in:
@@ -31,12 +31,14 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.home-manager.follows = "home-manager";
|
||||
};
|
||||
nixarr.url = "github:rasmus-kirk/nixarr";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
catppuccin,
|
||||
lanzaboote,
|
||||
nixarr,
|
||||
nur,
|
||||
plasma-manager,
|
||||
sops-nix,
|
||||
@@ -124,6 +126,12 @@
|
||||
home-manager = inputs.home-manager-stable;
|
||||
modules = [];
|
||||
};
|
||||
nixarr = mkNixOSConfigurations {
|
||||
host = hosts.nixarr;
|
||||
nixpkgs = inputs.nixpkgs-stable;
|
||||
home-manager = inputs.home-manager-stable;
|
||||
modules = [nixarr.nixosModules.default];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -71,6 +71,7 @@
|
||||
enable = true;
|
||||
enableCompletion = true;
|
||||
autosuggestion.enable = true;
|
||||
dotDir = "${config.xdg.configHome}/zsh";
|
||||
history = {
|
||||
append = true;
|
||||
extended = true;
|
||||
|
||||
@@ -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";
|
||||
}
|
||||
@@ -254,9 +254,15 @@
|
||||
|
||||
virtualisation = {
|
||||
containers.enable = true;
|
||||
docker = {
|
||||
enable = true;
|
||||
rootless = {
|
||||
enable = true;
|
||||
setSocketVariable = true;
|
||||
};
|
||||
};
|
||||
podman = {
|
||||
enable = true;
|
||||
dockerCompat = true;
|
||||
defaultNetwork.settings = {
|
||||
dns_enabled = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user