starting to setup media-server

This commit is contained in:
Matt Nish-Lapidus 2025-02-20 16:23:09 -05:00
parent cfdeb09d16
commit 989ec30ff5
6 changed files with 4707 additions and 13 deletions

34
flake.lock generated
View file

@ -69,11 +69,11 @@
"nixpkgs-stable": "nixpkgs-stable"
},
"locked": {
"lastModified": 1740068591,
"narHash": "sha256-NEJbSn9pVilpyXmoqo+DY8PRu2uEzema0np1ye/Id8M=",
"lastModified": 1740071991,
"narHash": "sha256-0oNsNqkQsKf/uZY3OPZLSqT3/RWVM7XsqTf0YiycZi0=",
"owner": "nix-community",
"repo": "emacs-overlay",
"rev": "f9830d78de821c22aabbd55b1a9ba57f7a79ce37",
"rev": "759b725256597a6b3020f56988ad12562e6d02c6",
"type": "github"
},
"original": {
@ -712,11 +712,11 @@
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
},
"locked": {
"lastModified": 1740045415,
"narHash": "sha256-dLg4Re8AdmlTYWu6FHR60cem9fErXnWXRJi6/Du5L3M=",
"lastModified": 1740084907,
"narHash": "sha256-cDyNztdZEZbWkt1ux5K4AdufHrkshdIenp7NOFuz3CY=",
"owner": "sodiboo",
"repo": "niri-flake",
"rev": "a622f76d3f97ce289f2103b6999f80a3732d629b",
"rev": "67be5f0250b6666afe355d72dee1c162264e8e28",
"type": "github"
},
"original": {
@ -745,11 +745,11 @@
"niri-unstable": {
"flake": false,
"locked": {
"lastModified": 1740042509,
"narHash": "sha256-Yk1DXv4oRdbi2P8v4b7GV6wXJaAa5jOK0femtfxlGAg=",
"lastModified": 1740079600,
"narHash": "sha256-BdkjKqPyWoCn+r9qcxJqFE2s63SjlQXQrkh80ls6IFQ=",
"owner": "YaLTeR",
"repo": "niri",
"rev": "8885233c7e036a1e279c09e4fd96c1a1669156c3",
"rev": "7b70cb66bc9f1ed6517855072147825eb810f1cf",
"type": "github"
},
"original": {
@ -852,6 +852,21 @@
"type": "github"
}
},
"nixos-facter-modules": {
"locked": {
"lastModified": 1738752252,
"narHash": "sha256-/nA3tDdp/2g0FBy8966ppC2WDoyXtUWaHkZWL+N3ZKc=",
"owner": "numtide",
"repo": "nixos-facter-modules",
"rev": "60f8b8f3f99667de6a493a44375e5506bf0c48b1",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "nixos-facter-modules",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1739798439,
@ -1138,6 +1153,7 @@
"niri": "niri",
"nix-flatpak": "nix-flatpak",
"nix-rice": "nix-rice",
"nixos-facter-modules": "nixos-facter-modules",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_6",
"nixpkgs-stable": "nixpkgs-stable_4",

View file

@ -14,6 +14,8 @@
nix-flatpak.url = "github:gmodena/nix-flatpak"; # unstable branch
nixos-facter-modules.url = "github:numtide/nixos-facter-modules";
yazi = {
url = "github:sxyazi/yazi";
inputs.nixpkgs.follows = "nixpkgs";
@ -137,11 +139,10 @@
inputs.musnix.nixosModules.musnix
inputs.niri.nixosModules.niri
inputs.sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager
./hosts/eddie/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useGlobalPkgs = true;
@ -164,6 +165,22 @@
}
];
};
media-server = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {
inherit inputs;
nix-config = self;
pkgs-stable = inputs.nixpkgs-stable {
config.allowUnfree = true;
};
};
modules = [
inputs.sops-nix.nixosModules.sops
inputs.nixos-facter-modules.nixosModules.facter
./hosts/media-server/configuration.nix
];
};
};
};
}

View file

@ -87,6 +87,14 @@ config.enable_kitty_keyboard = true
config.unzoom_on_switch_pane = true
config.mouse_bindings = {
{
event = { Up = { streak = 1, button = 'Left' } },
mods = 'NONE',
action = act.OpenLinkAtMouseCursor,
},
}
config.leader = { key = 'Space', mods = 'SHIFT', timeout_milliseconds = 1000 }
config.keys = {

View file

@ -22,8 +22,7 @@
};
swapDevices =
[ { device = "/dev/disk/by-uuid/f8a9a852-3ccb-4d00-8e2d-db0d68e688b2"; }
];
[ { device = "/dev/disk/by-uuid/f8a9a852-3ccb-4d00-8e2d-db0d68e688b2"; } ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View file

@ -0,0 +1,5 @@
{ config, lib, pkgs, ... }:
{
config.facter.reportPath = ./facter.json;
}

File diff suppressed because it is too large Load diff