forked from natto1784/dotfiles
@@ -3,12 +3,12 @@
|
||||
boot = {
|
||||
consoleLogLevel = 7;
|
||||
kernelParams = [ "console=ttyS0,115200n8" "console=ttyAMA0,115200n8" "console=tty0" ];
|
||||
kernelPackages = pkgs.linuxPackages_5_10;
|
||||
kernelPackages = pkgs.linuxPackages_5_10;
|
||||
initrd.availableKernelModules = [ "xhci_pci" "usb_storage" "usbhid" "uas" "pcie-brcmstb" "vc4" ];
|
||||
loader = {
|
||||
grub.enable = false;
|
||||
generic-extlinux-compatible.enable = true;
|
||||
/* raspberryPi= {
|
||||
/* raspberryPi= {
|
||||
version = 4;
|
||||
firmwareConfig = "dtparam=sd_poll_once=on";
|
||||
enable = true;
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
{config, pkgs, ...}:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./networking.nix
|
||||
./hardware.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./stuff.nix
|
||||
];
|
||||
imports =
|
||||
[
|
||||
./networking.nix
|
||||
./hardware.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./stuff.nix
|
||||
];
|
||||
system.stateVersion = "21.05";
|
||||
}
|
||||
|
||||
@@ -5,12 +5,14 @@
|
||||
|
||||
{
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/NIXOS_SD";
|
||||
{
|
||||
device = "/dev/disk/by-label/NIXOS_SD";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/nix/store" =
|
||||
{ device = "/nix/store";
|
||||
{
|
||||
device = "/nix/store";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
@@ -6,9 +6,14 @@
|
||||
allowedTCPPorts = [
|
||||
22 # ssh
|
||||
80 # http
|
||||
6060 4444 5454 8080 #????
|
||||
6060
|
||||
4444
|
||||
5454
|
||||
8080 #????
|
||||
5001 #gitea
|
||||
8800 4646 8500 #vault nomad consul
|
||||
8800
|
||||
4646
|
||||
8500 #vault nomad consul
|
||||
8888 #simpler-filehost1
|
||||
6666 #concourse
|
||||
202 #gitea-ssh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{inputs, config, pkgs, ... }:
|
||||
{ inputs, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.neovim = {
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.vault-agent;
|
||||
json = pkgs.formats.json {};
|
||||
json = pkgs.formats.json { };
|
||||
in
|
||||
{
|
||||
options = {
|
||||
@@ -17,10 +17,10 @@ in
|
||||
The package used for the vault agent
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
settings = mkOption {
|
||||
type = json.type;
|
||||
default = {};
|
||||
default = { };
|
||||
description = ''
|
||||
Settings for the agent
|
||||
'';
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{config, ...}:
|
||||
{ config, ... }:
|
||||
{
|
||||
nix.buildMachines = [ {
|
||||
hostName = "satori";
|
||||
systems = ["x86_64-linux" "aarch64-linux"];
|
||||
maxJobs = 4;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
}] ;
|
||||
nix.distributedBuilds = true;
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
nix.buildMachines = [{
|
||||
hostName = "satori";
|
||||
systems = [ "x86_64-linux" "aarch64-linux" ];
|
||||
maxJobs = 4;
|
||||
speedFactor = 2;
|
||||
supportedFeatures = [ "nixos-test" "benchmark" "big-parallel" "kvm" ];
|
||||
}];
|
||||
nix.distributedBuilds = true;
|
||||
nix.extraOptions = ''
|
||||
builders-use-substitutes = true
|
||||
'';
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{config, ...}:
|
||||
{ config, ... }:
|
||||
{
|
||||
boot = {
|
||||
kernel.sysctl."net.ipv4.ip_forward" = 1;
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{lib, config, ...}:
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./networking.nix
|
||||
./hardware.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./mailserver.nix
|
||||
./stuff.nix
|
||||
];
|
||||
imports =
|
||||
[
|
||||
./networking.nix
|
||||
./hardware.nix
|
||||
./boot.nix
|
||||
./services.nix
|
||||
./mailserver.nix
|
||||
./stuff.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "21.11";
|
||||
}
|
||||
|
||||
@@ -2,17 +2,19 @@
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
[
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
|
||||
{
|
||||
device = "/dev/disk/by-uuid/d91adce2-9059-4a8a-86e7-dee6ecc85b2b";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [
|
||||
{
|
||||
device="/swapfile";
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 7168;
|
||||
priority = 0;
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
25
|
||||
22001
|
||||
22002
|
||||
9898
|
||||
9898
|
||||
8999
|
||||
99
|
||||
] ++ (map (x: x.sourcePort) config.networking.nat.forwardPorts);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ lib, config, ...}:
|
||||
{ lib, config, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
{ config, lib, ... }:
|
||||
|
||||
#let
|
||||
@@ -11,23 +10,23 @@
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
libinput= {
|
||||
libinput = {
|
||||
enable = true;
|
||||
mouse = {
|
||||
accelSpeed = "0";
|
||||
# accelProfile = "flat";
|
||||
# accelProfile = "flat";
|
||||
};
|
||||
touchpad = {
|
||||
middleEmulation = false;
|
||||
clickMethod = "buttonareas";
|
||||
tapping = true;
|
||||
naturalScrolling =true;
|
||||
naturalScrolling = true;
|
||||
};
|
||||
};
|
||||
displayManager = {
|
||||
startx = {
|
||||
enable = true;
|
||||
};
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
extraLayouts = {
|
||||
us-colemak = {
|
||||
|
||||
Reference in New Issue
Block a user