mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 03:29:20 +00:00
finally on flake parts
just need to remove fup now
This commit is contained in:
parent
3b4057b366
commit
fdafb67215
20 changed files with 206 additions and 123 deletions
|
|
@ -3,10 +3,12 @@
|
|||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
self,
|
||||
...
|
||||
}: let
|
||||
inherit (inputs.self.nixosModules) keys;
|
||||
#inherit (self.nixosModules) keys;
|
||||
in {
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
c.services.mesh = {
|
||||
enable = true;
|
||||
exitNode = true;
|
||||
|
|
@ -17,7 +19,7 @@ in {
|
|||
enable = true;
|
||||
host = "media.cleslie.uk";
|
||||
port = 62480;
|
||||
keys = keys.c;
|
||||
keys = config.keys.c;
|
||||
buildOn = "local";
|
||||
};
|
||||
|
||||
|
|
@ -26,7 +28,7 @@ in {
|
|||
users.users.media = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "multimedia"];
|
||||
openssh.authorizedKeys.keys = keys.c;
|
||||
openssh.authorizedKeys.keys = config.keys.c;
|
||||
packages = with pkgs; [
|
||||
tree
|
||||
nixvim
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{...}: {
|
||||
virtualisation = {
|
||||
podman.enable = true;
|
||||
podman.dockerCompat = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{inputs}: {
|
||||
modules = [
|
||||
{inputs, ...}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./configuration.nix
|
||||
./fail2ban.nix
|
||||
|
|
@ -9,8 +9,4 @@
|
|||
./media.nix
|
||||
./headscale.nix
|
||||
];
|
||||
extraArgs = {};
|
||||
specialArgs = {};
|
||||
system = "x86_64-linux";
|
||||
channelName = "unstable";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,11 +32,11 @@ in {
|
|||
"d /var/lib/tdarr/logs 0775 - multimedia - "
|
||||
];
|
||||
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
||||
};
|
||||
# nixpkgs.config.packageOverrides = pkgs: {
|
||||
# vaapiIntel = pkgs.vaapiIntel.override {enableHybridCodec = true;};
|
||||
# };
|
||||
|
||||
hardware.graphics = {
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
|
|
@ -44,7 +44,7 @@ in {
|
|||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
intel-compute-runtime # OpenCL filter support (hardware tonemapping and subtitle burn-in)
|
||||
vpl-gpu-rt # QSV on 11th gen or newer
|
||||
unstable.vpl-gpu-rt # QSV on 11th gen or newer
|
||||
#intel-media-sdk # QSV up to 11th gen
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{...}: {
|
||||
services = {
|
||||
openssh = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue