mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Compare commits
No commits in common. "3d5964b16db1df2e805e336323f82e6c0e0207c7" and "c6092ffb4aedacc23810571c421bb7d6b945ffd9" have entirely different histories.
3d5964b16d
...
c6092ffb4a
2 changed files with 4 additions and 19 deletions
|
|
@ -1,27 +1,12 @@
|
||||||
{ config, lib, pkgs, inputs, system, ... }:
|
{ config, lib, pkgs, inputs, system, ... }:
|
||||||
let
|
let cfg = config.mods;
|
||||||
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";
|
||||||
|
|
|
||||||
|
|
@ -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 = [ "v4l2loopback" ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.supportedFilesystems = [ "ntfs" "btrfs" ];
|
boot.supportedFilesystems = [ "ntfs" "btrfs" ];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue