This commit is contained in:
notohh 2022-12-08 04:45:47 -05:00
parent fd44d23309
commit ee7cd4a125
2 changed files with 32 additions and 8 deletions

View file

@ -8,7 +8,7 @@
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
./modules/hyprland/default.nix ./modules/hyprland/default.nix
]; ];
# Bootloader. # Bootloader.
@ -16,6 +16,9 @@
boot.loader.systemd-boot.configurationLimit = 5; boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi"; boot.loader.efi.efiSysMountPoint = "/boot/efi";
boot.extraModulePackages = with config.boot.kernelPackages;
[ v4l2loopback.out ];
boot.kernelModules = [ "v4l2loopback" ];
networking.hostName = "nixos"; # Define your hostname. networking.hostName = "nixos"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
@ -64,6 +67,7 @@
}; };
services.printing.enable = true; services.printing.enable = true;
services.spotifyd.enable = true;
sound.enable = true; sound.enable = true;
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
@ -73,6 +77,7 @@
alsa.enable = true; alsa.enable = true;
alsa.support32Bit = true; alsa.support32Bit = true;
pulse.enable = true; pulse.enable = true;
wireplumber.enable = true;
}; };
# enable fish # enable fish
@ -82,6 +87,8 @@
#polkit #polkit
security.polkit.enable = true; security.polkit.enable = true;
programs.steam.enable = true;
#users #users
users.users.notoh = { users.users.notoh = {
isNormalUser = true; isNormalUser = true;
@ -93,27 +100,30 @@
neovim neovim
neofetch neofetch
bitwarden bitwarden
spotify
discord discord
waybar spotify-tui
spotifyd
mpv
ani-cli
trackma
# utility # utility
hyprpaper hyprpaper
waybar
streamlink streamlink
ranger ranger
btop btop
obsidian obsidian
lazygit lazygit
obs-studio
pavucontrol
# gaming # gaming
steam steam
wine wine
lutris lutris
bottles bottles
gamescope
# fun stuff # fun stuff
cbonsai cbonsai
pipes-rs pipes-rs
cmatrix cmatrix
@ -138,7 +148,17 @@
polkit_gnome polkit_gnome
appimage-run appimage-run
wlogout wlogout
wireplumber
dunst dunst
appimage-run
qt6.qtwayland
qt5.qtwayland
qt6.full
qt5.full
cmake
meson
python3
python3.pkgs.pip
]; ];
system.stateVersion = "23.05"; # Did you read the comment? system.stateVersion = "23.05"; # Did you read the comment?
@ -200,5 +220,9 @@
}; };
}; };
nixpkgs.config.permittedInsecurePackages = [
"qtwebkit-5.212.0-alpha4"
];
} }

View file

@ -37,6 +37,6 @@
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true; # networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
} }