add searx and mosh

This commit is contained in:
zackartz 2024-05-03 14:10:05 -04:00
parent d31b1b1312
commit 6f82cd7ec2
No known key found for this signature in database
GPG key ID: 5B53E53A9A514DBA
2 changed files with 34 additions and 19 deletions

View file

@ -49,6 +49,17 @@
programs.zsh.enable = true;
services.searx = {
enable = true;
package = pkgs.searxng;
runInUwsgi = true;
uwsgiConfig = {
http = ":8080";
};
};
programs.mosh.enable = true;
users.mutableUsers = false;
# Define a user account. Don't forget to set a password with passwd.
users.users.zack = {

View file

@ -1,11 +1,15 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod"];
@ -13,13 +17,13 @@
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/2367b8e2-fe40-43e4-bc6a-fa19f78bfca4";
fileSystems."/" = {
device = "/dev/disk/by-uuid/2367b8e2-fe40-43e4-bc6a-fa19f78bfca4";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/4DC0-0CF8";
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/4DC0-0CF8";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};