Update muop

This commit is contained in:
muon 2025-11-07 18:07:23 +00:00
parent f6c298b008
commit de705db5c1
2 changed files with 19 additions and 4 deletions

View file

@ -1,12 +1,27 @@
{ config, lib, pkgs, inputs, system, ... }: { config, lib, pkgs, inputs, system, ... }:
let cfg = config.mods; let
cfg = config.mods;
keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEio+Y5wBVD1wILaH2R3wV10FvVjiqy/4gGBWHOITTB muon@muon"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKevYmkH7xvYoquBjnYZ7PJiVqf+GOh9fxAJBN6wZGBB gin4@hi.is"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILmAOd9VbhyJeibt6Vrb101MNTk5W8+rh94Djv/C+pyu muon@muho"
];
in { in {
# Enable the OpenSSH daemon.
services.openssh.enable = true;
users.users.muon.openssh.authorizedKeys.keys = keys;
users.users.root.openssh.authorizedKeys.keys = keys;
# Hardware # Hardware
imports = [ ./hardware-configuration.nix ]; imports = [ ./hardware-configuration.nix ];
environment.systemPackages = with inputs.nix-alien.packages.${system}; environment.systemPackages = with inputs.nix-alien.packages.${system}; [
[ nix-alien ]; nix-alien
pkgs.rustdesk-flutter
pkgs.motion
pkgs.inotify-tools
];
# System # System
mods.user.name = "muon"; mods.user.name = "muon";

View file

@ -9,7 +9,7 @@
boot.initrd.availableKernelModules = boot.initrd.availableKernelModules =
[ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ]; boot.kernelModules = [ "v4l2loopback" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
boot.supportedFilesystems = [ "ntfs" "btrfs" ]; boot.supportedFilesystems = [ "ntfs" "btrfs" ];