Compare commits

..

2 Commits

Author SHA1 Message Date
Kyler Olsen e46c6d3fee installing things 2025-05-08 13:26:31 -06:00
Kyler Olsen ba5aa0f531 Setting up on MoonK4 2025-05-07 22:40:50 -06:00
5 changed files with 29 additions and 19 deletions

View File

@ -4,24 +4,20 @@
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
imports = [ ]; imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/ec8ceed7-4d76-46ce-b270-a9c505a1b336"; { device = "/dev/disk/by-uuid/6cc799fb-b823-4f6f-b4af-da6a9e0974a4";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/E842-22E1";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ]; swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
@ -29,8 +25,10 @@
# still possible to use this option, but it's recommended to use it in conjunction # 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`. # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true; # networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f0u3.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
virtualisation.virtualbox.guest.enable = true; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }

View File

@ -20,8 +20,15 @@
home.sessionVariables = { home.sessionVariables = {
}; };
nixpkgs.config.allowUnfree = true;
programs.home-manager.enable = true; programs.home-manager.enable = true;
# programs.git = {
# userEmail = "kylerolsen17@gmail.com";
# userName = "Kyler Olsen";
# };
# This value determines the Home Manager release that your configuration is # This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release # compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes. # introduces backwards incompatible changes.

View File

@ -5,8 +5,8 @@
wl-clipboard wl-clipboard
dolphin dolphin
wofi wofi
# google-chrome-stable google-chrome
# firefox firefox
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
@ -54,8 +54,8 @@
# Internet Browsers # Internet Browsers
# "$mainMod, B, exec, google-chrome-stable --profile-directory=\"Default\" --new-window" # "$mainMod, B, exec, google-chrome-stable --profile-directory=\"Default\" --new-window"
# "$mainMod ALT, B, exec, google-chrome-stable --profile-directory=\"Profile 1\" --new-window" # "$mainMod ALT, B, exec, google-chrome-stable --profile-directory=\"Profile 1\" --new-window"
# "$mainMod, B, exec, google-chrome-stable" "$mainMod, B, exec, google-chrome-stable"
# "$mainMod ALT, B, exec, firefox" "$mainMod ALT, B, exec, firefox"
# Minecraft # Minecraft
# "$mainMod, N, exec, multimc -l \"Dragon Egg Dome\"" # "$mainMod, N, exec, multimc -l \"Dragon Egg Dome\""

View File

@ -7,8 +7,13 @@
./hyprland.nix ./hyprland.nix
]; ];
boot.loader.systemd-boot.enable = true; # boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; # boot.loader.efi.canTouchEfiVariables = true;
# boot.loader.efi.efiSysMountPoint = "/boot";
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/nvme0n1";
boot.loader.grub.useOSProber = true;
networking.hostName = "moonk4-l"; # Define your hostname. networking.hostName = "moonk4-l"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View File

@ -8,7 +8,7 @@
default_session = { default_session = {
command = "${pkgs.greetd.greetd}/bin/agreety --cmd Hyprland"; command = "${pkgs.greetd.greetd}/bin/agreety --cmd Hyprland";
}; };
} };
}; };
programs.hyprland = { programs.hyprland = {