Add new hosts folder and all the new settings

This commit is contained in:
Tyler Kelley 2024-05-14 00:49:18 -05:00
parent 1d51ac1e8f
commit eb3edeb2cd
3 changed files with 131 additions and 1 deletions

View File

@ -21,7 +21,7 @@
outputs = inputs@{ nixpkgs, home-manager, impermanence, ... }:
let
system = "x86_64-linux";
host = "default";
host = "familypc";
inherit (import ./hosts/${host}/options.nix) username hostname;
pkgs = import nixpkgs {

View File

@ -0,0 +1,39 @@
# 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")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/9e36b8f0-e272-4e69-99ad-dba17949887f";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/7CBF-413D";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
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.enp7s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp6s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View File

@ -0,0 +1,91 @@
# PLEASE READ THE WIKI FOR DETERMINING
# WHAT TO PUT HERE AS OPTIONS.
# https://gitlab.com/Zaney/zaneyos/-/wikis/Setting-Options
let
setUsername = "zaney";
setHostname = "familypc";
in {
# No Change Needed Below
username = "${setUsername}";
hostname = "${setHostname}";
userHome = "/home/${setUsername}";
flakeDir = "/home/${setUsername}/zaneyos";
wallpaperGit = "https://gitlab.com/Zaney/my-wallpapers.git"; # Can be changed IF you know what your doing
wallpaperDir = "/home/${setUsername}/Pictures/Wallpapers";
screenshotDir = "/home/${setUsername}/Pictures/Screenshots";
flakePrev = "/home/${setUsername}/.zaneyos-previous";
flakeBackup = "/home/${setUsername}/.zaneyos-backup";
# Git Configuration ( For Pulling Software Repos )
gitUsername = "John Smith";
gitEmail = "johnsmith@gmail.com";
# Base16 Theme
theme = "atelier-cave";
# Hyprland Settings
borderAnim = true; # Enable / Disable Hyprland Border Animation
extraMonitorSettings = "";
# Waybar Settings
waybarAnim = true; # Enable / Disable Waybar Animation CSS
bar-number = true; # Enable / Disable Workspace Numbers In Waybar
# System Settings
clock24h = false;
theLocale = "en_US.UTF-8";
theKBDLayout = "us";
theSecondKBDLayout = "de";
theKBDVariant = "";
theLCVariables = "en_US.UTF-8";
theTimezone = "America/Chicago";
theShell = "bash"; # Possible options: bash, zsh
theKernel = "zen"; # Possible options: default, latest, lqx, xanmod, zen
sdl-videodriver = "x11"; # Either x11 or wayland ONLY. Games might require x11 set here
# For Hybrid Systems intel-nvidia
# Should Be Used As gpuType
cpuType = "intel";
gpuType = "intel";
# Nvidia Hybrid Devices ONLY NEEDED FOR HYBRID SYSTEMS!
intel-bus-id = "PCI:1:0:0";
nvidia-bus-id = "PCI:0:2:0";
# Enable / Setup NFS
nfs = false;
nfsMountPoint = "/mnt/nas";
nfsDevice = "nas:/volume1/nas";
# NTP & HWClock Settings
ntp = true;
localHWClock = false;
# Enable Printer & Scanner Support
printer = true;
# Program Options
browser = "firefox"; # Install & Set Default Browser
terminal = "kitty"; # Set Default System Terminal
distrobox = false;
flatpak = false;
kdenlive = false;
blender = false;
enableZeroAD = false;
# Enable Support For
# Logitech Devices
logitech = false;
# Enable Terminals ( If You Disable All You Get Kitty )
wezterm = false;
alacritty = false;
kitty = true;
# Enable Python & PyCharm
python = false;
# Enable SyncThing
syncthing = false;
}