This commit is contained in:
marked 2025-03-29 19:05:05 +01:00
commit 24a865004a
94 changed files with 6074 additions and 0 deletions

View file

@ -0,0 +1,6 @@
{ ... }: {
imports = [
./hardware.nix
./host-packages.nix
];
}

View file

@ -0,0 +1,42 @@
# 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" "thunderbolt" "vmd" "nvme" "usbhid" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/4fc5de2c-62d6-4165-a39a-c1464cdb9445";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-1b7c25f4-c8a9-439e-b000-880cec9c3814".device = "/dev/disk/by-uuid/1b7c25f4-c8a9-439e-b000-880cec9c3814";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/CA7B-F8B5";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
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.eno2.useDHCP = lib.mkDefault true;
# networking.interfaces.wlo1.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -0,0 +1,11 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
dislocker
ntfs3g
keepassxc
mesa-demos
egl-wayland
supergfxctl
asusctl
];
}

View file

@ -0,0 +1,44 @@
{
# Git config
gitUsername = "marked";
gitEmail = "marked@devmarked.win";
# Hyprland
extraMonitorSettings = ''
monitor = HDMI-A-2, 1920x1080@165, auto, 1
monitor = eDP-1, 1920x1080@144, auto-right, 1
'';
# Program options
browser = "zen"; # Default browser
terminal = "kitty"; # Default terminal
keyboardLayout = "us";
consoleKeyMap = "us";
# Nvidia Prime
intelId = "PCI:0:2:0";
nvidiaId = "PCI:1:0:0";
# Printing support
printEnable = false;
# Virtualisation options, only enable docker OR podman
dockerEnable = true;
podmanEnable = false;
libvirtdEnable = false;
# Stylix image
stylixImage = ../../wallpapers/sea.jpg;
# Should apps be themed via the given stylix image?
themeByImage = false;
# Waybar config
waybarChoice = ../../modules/home/waybar/waybar-simple.nix;
# Animation style [ animations-def, animations-end4, animations-dynamic ]
animChoice = ../../modules/home/hyprland/animations-def.nix;
# Enable Thunar
thunarEnable = false;
}