fmt
This commit is contained in:
@@ -3,9 +3,11 @@
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
}:
|
||||
let
|
||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
in {
|
||||
in
|
||||
{
|
||||
users.users.cnst = {
|
||||
isNormalUser = true;
|
||||
shell = pkgs.fish;
|
||||
|
||||
@@ -7,22 +7,23 @@
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["usbhid"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
boot.initrd.availableKernelModules = [ "usbhid" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [{device = "/swapfile";}];
|
||||
swapDevices = [ { device = "/swapfile"; } ];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
boot = {
|
||||
kernel = {
|
||||
variant = "latest";
|
||||
hardware = [];
|
||||
extraKernelParams = [];
|
||||
hardware = [ ];
|
||||
extraKernelParams = [ ];
|
||||
};
|
||||
loader = {
|
||||
default = {
|
||||
@@ -21,7 +21,7 @@
|
||||
};
|
||||
graphics = {
|
||||
enable = false;
|
||||
vendors = [];
|
||||
vendors = [ ];
|
||||
};
|
||||
logitech = {
|
||||
enable = false;
|
||||
@@ -30,8 +30,16 @@
|
||||
enable = true;
|
||||
interfaces = {
|
||||
"enu1u1" = {
|
||||
allowedTCPPorts = [22 80 443 8090];
|
||||
allowedUDPPorts = [58846 6881];
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
443
|
||||
8090
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
58846
|
||||
6881
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{config, ...}: {
|
||||
{ config, ... }:
|
||||
{
|
||||
server = {
|
||||
enable = true;
|
||||
email = "adam@cnst.dev";
|
||||
|
||||
Reference in New Issue
Block a user