diff --git a/hosts/Puenktchen/hardware-configuration.nix b/hosts/Puenktchen/hardware-configuration.nix new file mode 100644 index 0000000..490c770 --- /dev/null +++ b/hosts/Puenktchen/hardware-configuration.nix @@ -0,0 +1,25 @@ +# 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 = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-amd" ]; + boot.extraModulePackages = [ ]; + + # 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..useDHCP`. + networking.useDHCP = lib.mkDefault true; + # networking.interfaces.enp9s0.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} diff --git a/users/willifan/applications.nix b/users/willifan/applications.nix index f45027d..4178a8b 100644 --- a/users/willifan/applications.nix +++ b/users/willifan/applications.nix @@ -7,6 +7,10 @@ #probe-rs #cargo-binutils + bc + jq + xorg.xrandr + btop feh @@ -14,7 +18,7 @@ hyfetch enpass webcord - obsidian +# obsidian kicad ]; diff --git a/users/willifan/graphical/default.nix b/users/willifan/graphical/default.nix index db1a023..4861497 100644 --- a/users/willifan/graphical/default.nix +++ b/users/willifan/graphical/default.nix @@ -9,6 +9,7 @@ ./firefox.nix ./kitty.nix + ./steam.nix ./thunar.nix ./thunderbird.nix ]; diff --git a/users/willifan/graphical/dev/vscodium.nix b/users/willifan/graphical/dev/vscodium.nix index 88ddabc..53b6d62 100644 --- a/users/willifan/graphical/dev/vscodium.nix +++ b/users/willifan/graphical/dev/vscodium.nix @@ -5,6 +5,10 @@ programs.vscode = { enable = true; package = pkgs.vscodium; + + userSettings = { + "[nix]"."editor.tabSize" = 2; + }; extensions = with pkgs.vscode-extensions; [ # System bbenoist.nix diff --git a/users/willifan/graphical/hyprland/hyprland.nix b/users/willifan/graphical/hyprland/hyprland.nix index f0a2bb9..7fe54a0 100644 --- a/users/willifan/graphical/hyprland/hyprland.nix +++ b/users/willifan/graphical/hyprland/hyprland.nix @@ -3,6 +3,7 @@ home-manager.users.willifan = { wayland.windowManager.hyprland = { enable = true; + systemd.variables = ["--all"]; settings = { misc = { diff --git a/users/willifan/graphical/hyprland/kanshi.nix b/users/willifan/graphical/hyprland/kanshi.nix index bd704e9..b5c8616 100644 --- a/users/willifan/graphical/hyprland/kanshi.nix +++ b/users/willifan/graphical/hyprland/kanshi.nix @@ -21,31 +21,24 @@ { profile.name = "home"; profile.outputs = [ - { - criteria = "eDP-1"; - mode = "2256x1504"; - position = "0,384"; - scale = 1.6; - transform = "normal"; - } { criteria = "ViewSonic Corporation VX2705-2KP W6Z205100250"; mode = "2560x1440"; - position = "1410,384"; + position = "0,384"; scale = 1.25; transform = "normal"; } { criteria = "ViewSonic Corporation VX2705-2KP W6Z210400766"; mode = "2560x1440@143.91Hz"; - position = "3457,384"; + position = "2048,384"; scale = 1.25; transform = "normal"; } { criteria = "BNQ BenQ BL2283 CAM01567019"; mode = "1920x1080"; - position = "5505,0"; + position = "4096,0"; scale = 1.0; transform = "270"; } diff --git a/users/willifan/graphical/steam.nix b/users/willifan/graphical/steam.nix new file mode 100644 index 0000000..d7e6a9d --- /dev/null +++ b/users/willifan/graphical/steam.nix @@ -0,0 +1,6 @@ +{ pkgs, home-manager, ... }: +{ + programs.steam.enable = true; + + hardware.steam-hardware.enable = true; +} \ No newline at end of file diff --git a/vars/default.nix b/vars/default.nix index 6ddc2df..3312995 100644 --- a/vars/default.nix +++ b/vars/default.nix @@ -1,6 +1,6 @@ { ... }: { username = "willifan"; - hostname = "Lenni"; + hostname = "Puenktchen"; email = "willifan@proton.me"; -} \ No newline at end of file +}