clean up move fast break shit comments
This commit is contained in:
parent
cc8abdbd3c
commit
1a749c0278
7 changed files with 13 additions and 94 deletions
|
|
@ -46,7 +46,6 @@
|
|||
allowedUDPPorts = [];
|
||||
checkReversePath = "loose";
|
||||
};
|
||||
# networkmanager.enable = true;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,7 @@
|
|||
{ modulesPath, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
# ../modules/base/hardware.nix
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
../modules/services/docker.nix
|
||||
../modules/users/arouzing.nix
|
||||
|
|
@ -20,27 +18,25 @@
|
|||
];
|
||||
|
||||
networking = {
|
||||
firewall.checkReversePath = "loose";
|
||||
hostName = "openldap"; # Define your hostname.
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [];
|
||||
checkReversePath = "loose";
|
||||
};
|
||||
# networkmanager.enable = true;
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
time.timeZone = "America/New_York";
|
||||
time.timeZone = "America/Detroit";
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [];
|
||||
allowedUDPPorts = [];
|
||||
};
|
||||
## main services
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
### testing ###
|
||||
boot.initrd.availableKernelModules =
|
||||
[ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -31,10 +31,6 @@
|
|||
disko.devices = import ../modules/disko/luks-lvm.nix {
|
||||
disks = [ "/dev/nvme0n1" ];
|
||||
};
|
||||
# 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
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
|
|
|||
|
|
@ -19,14 +19,7 @@
|
|||
|
||||
swapDevices = [ ];
|
||||
|
||||
# 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
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.enp6s18.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.tailscale0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
@ -40,24 +33,11 @@
|
|||
};
|
||||
extraModulePackages = [ ];
|
||||
loader = {
|
||||
# systemd-boot.enable = true;
|
||||
grub = {
|
||||
# Even if there is a separate no-fs partition ("/dev/disk/by-partlabel/no-fs" i.e. "/dev/vda2"),
|
||||
# which will be used the bootloader, do not set it as loader.grub.device.
|
||||
# GRUB installation fails, unless the whole disk is selected.
|
||||
device = "/dev/vda";
|
||||
};
|
||||
timeout = 0;
|
||||
};
|
||||
};
|
||||
# fileSystems."/" = {
|
||||
# device = "/dev/disk/by-label/nixos";
|
||||
# autoResize = true;
|
||||
# fsType = "ext4";
|
||||
# };
|
||||
# fileSystems."/boot" = lib.mkIf hasBootPartition {
|
||||
# device = "/dev/disk/by-label/ESP";
|
||||
# fsType = "vfat";
|
||||
# };
|
||||
services.qemuGuest.enable = lib.mkDefault true;
|
||||
}
|
||||
|
|
@ -4,11 +4,9 @@
|
|||
services.openssh = lib.mkDefault {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
#settings = lib.mkDefault {
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "no";
|
||||
kbdInteractiveAuthentication = false;
|
||||
#};
|
||||
passwordAuthentication = false;
|
||||
permitRootLogin = "no";
|
||||
kbdInteractiveAuthentication = false;
|
||||
startWhenNeeded = true;
|
||||
kexAlgorithms = [ "curve25519-sha256@libssh.org" ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,8 +1,6 @@
|
|||
# https://nixos.wiki/wiki/PipeWire
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
# Remove sound.enable or turn it off if you had it set previously, it seems to cause conflicts with pipewire
|
||||
#sound.enable = false;
|
||||
# rtkit is optional but recommended
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{ pkgs, config, lib, ... }: {
|
||||
#Home manager configuration
|
||||
#imports = [ ./../../home ./../../home/nixos ];
|
||||
|
||||
home = {
|
||||
username = "speccon18";
|
||||
homeDirectory = "/home/speccon18";
|
||||
|
|
@ -29,7 +26,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
|
||||
programs = {
|
||||
nushell = {
|
||||
enable = true;
|
||||
|
|
@ -50,7 +46,6 @@
|
|||
direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = lib.mkDefault true;
|
||||
#enableNushellIntegration = true;
|
||||
};
|
||||
home-manager = {
|
||||
enable = true;
|
||||
|
|
@ -60,54 +55,11 @@
|
|||
package = pkgs.vscode.fhs;
|
||||
enableExtensionUpdateCheck = true;
|
||||
enableUpdateCheck = false;
|
||||
extensions = [
|
||||
# "tlahmann.alex-linter"
|
||||
# "astro-build.astro-vscode"
|
||||
# "aaron-bond.better-comments"
|
||||
# "bungcip.better-toml"
|
||||
# "antfu.browse-lite"
|
||||
# "firefox-devtools.vscode-firefox-debug"
|
||||
# "ms-vscode-remote.remote-containers"
|
||||
# "ms-azuretools.vscode-docker"
|
||||
# "editorconfig.editorconfig"
|
||||
# "dbaeumer.vscode-eslint"
|
||||
# "donjayamanne.githistory"
|
||||
# "felipecaputo.git-project-manager"
|
||||
# "github.copilot"
|
||||
# "eamodio.gitlens"
|
||||
# "graphql.vscode-graphql"
|
||||
# "graphql.vscode-graphql-syntax"
|
||||
# "oderwat.indent-rainbow"
|
||||
# "skellock.just"
|
||||
# "monokai.theme-monokai-pro-vscode"
|
||||
# "bbenoist.nix"
|
||||
# "jnoortheen.nix-ide"
|
||||
# "christian-kohler.path-intellisense"
|
||||
# "csstools.postcss"
|
||||
# "esbenp.prettier-vscode"
|
||||
# "ms-vscode-remote.remote-ssh"
|
||||
# "ms-vscode-remote.remote-ssh-edit"
|
||||
# "ms-vscode.remote-server"
|
||||
# "ms-vscode-remote.vscode-remote-extensionpack"
|
||||
# "ms-vscode.remote-explorer"
|
||||
# "rust-lang.rust-analyzer"
|
||||
# "rhalaly.scope-to-this"
|
||||
# "svelte.svelte-vscode"
|
||||
# "bradlc.vscode-tailwindcss"
|
||||
# "tauri-apps.tauri-vscode"
|
||||
# "antfu.vite"
|
||||
# "zixuanchen.vitest-explorer"
|
||||
# "vscode-icons-team.vscode-icons"
|
||||
# "thenuprojectcontributors.vscode-nushell-lang"
|
||||
# "ms-vscode-remote.remote-wsl"
|
||||
# "redhat.vscode-yaml"
|
||||
];
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
userName = "specCon18";
|
||||
userEmail = "steven.carpenter@skdevstudios.com";
|
||||
# delta.enable = true;
|
||||
extraConfig = {
|
||||
init = {
|
||||
defaultBranch = "main";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue