neovim/fw

This commit is contained in:
gwg313 2024-09-03 23:07:50 -04:00
parent 8d5e0e6566
commit c4f7a64329
Signed by: gwg313
GPG key ID: 60FF63B4826B7400
16 changed files with 427 additions and 24 deletions

View file

@ -19,6 +19,7 @@
../../common/nixos/bluetooth.nix
../../common/nixos/restic.nix
../../common/nixos/ssh/ssh.nix
../../common/gui/steam.nix
../../common/nixos/ssh/ssh_client.nix
../../common/nixos/ssh/ssh_guard.nix
../../common/gui/hyprland.nix
@ -27,6 +28,8 @@
../../common/virtualization/default.nix
../../common/nixos/sysctl/default.nix
../../common/networking
./auditd.nix
./kernel.nix
./sysctl.nix
@ -89,14 +92,15 @@
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) (
(lib.filterAttrs (_: lib.isType "flake")) inputs
);
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nix.nixPath = ["/etc/nix/path"];
environment.etc =
lib.mapAttrs'
(name: value: {
lib.mapAttrs' (name: value: {
name = "nix/path/${name}";
value.source = value.flake;
})

View file

@ -14,7 +14,6 @@
# If you want to use modules your own flake exports (from modules/nixos):
# outputs.nixosModules.example
../../common/nixos/common.nix
../../common/networking/zerotier.nix
../../common/nixos/bluetooth.nix
../../common/nixos/restic.nix
../../common/nixos/ssh/default.nix
@ -27,6 +26,8 @@
../../common/virtualization/libvirt.nix
../../common/nixos/sysctl/default.nix
../../common/networking
./syncthing.nix
./auditd.nix
./kernel.nix
@ -92,14 +93,15 @@
# This will add each flake input as a registry
# To make nix3 commands consistent with your flake
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
nix.registry = (lib.mapAttrs (_: flake: {inherit flake;})) (
(lib.filterAttrs (_: lib.isType "flake")) inputs
);
# This will additionally add your inputs to the system's legacy channels
# Making legacy nix commands consistent as well, awesome!
nix.nixPath = ["/etc/nix/path"];
environment.etc =
lib.mapAttrs'
(name: value: {
lib.mapAttrs' (name: value: {
name = "nix/path/${name}";
value.source = value.flake;
})

View file

@ -10,10 +10,16 @@
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
# ../../common/nixos/nfs.nix
../../common/nixos/nfs.nix
];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
@ -30,9 +36,7 @@
fsType = "vfat";
};
swapDevices = [
{device = "/dev/disk/by-uuid/04f457e4-1bd2-417f-bcb7-f8b770e71c21";}
];
swapDevices = [{device = "/dev/disk/by-uuid/04f457e4-1bd2-417f-bcb7-f8b770e71c21";}];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's