cleanup and stuff
This commit is contained in:
parent
ee7cd4a125
commit
f1900a3c6d
2 changed files with 32 additions and 28 deletions
|
@ -1,12 +1,8 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
{ config, pkgs, inputs, ... }:
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
|
||||||
|
|
||||||
{ config, pkgs, flake-self, inputs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/hyprland/default.nix
|
./modules/hyprland/default.nix
|
||||||
];
|
];
|
||||||
|
@ -18,22 +14,16 @@
|
||||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages;
|
boot.extraModulePackages = with config.boot.kernelPackages;
|
||||||
[ v4l2loopback.out ];
|
[ v4l2loopback.out ];
|
||||||
boot.kernelModules = [ "v4l2loopback" ];
|
boot.kernelModules = [ "v4l2loopback" "kvm-intel" ];
|
||||||
|
|
||||||
networking.hostName = "nixos"; # Define your hostname.
|
virtualisation.libvirtd.enable = true;
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
networking.hostName = "nixos";
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
|
||||||
|
|
||||||
# Enable networking
|
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
# Set your time zone.
|
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
|
|
||||||
# Select internationalisation properties.
|
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
i18n.extraLocaleSettings = {
|
i18n.extraLocaleSettings = {
|
||||||
|
@ -87,8 +77,6 @@
|
||||||
#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;
|
||||||
|
@ -106,6 +94,7 @@
|
||||||
mpv
|
mpv
|
||||||
ani-cli
|
ani-cli
|
||||||
trackma
|
trackma
|
||||||
|
|
||||||
# utility
|
# utility
|
||||||
hyprpaper
|
hyprpaper
|
||||||
waybar
|
waybar
|
||||||
|
@ -116,6 +105,10 @@
|
||||||
lazygit
|
lazygit
|
||||||
obs-studio
|
obs-studio
|
||||||
pavucontrol
|
pavucontrol
|
||||||
|
unzip
|
||||||
|
etcher
|
||||||
|
virt-manager
|
||||||
|
|
||||||
# gaming
|
# gaming
|
||||||
steam
|
steam
|
||||||
wine
|
wine
|
||||||
|
@ -127,12 +120,11 @@
|
||||||
cbonsai
|
cbonsai
|
||||||
pipes-rs
|
pipes-rs
|
||||||
cmatrix
|
cmatrix
|
||||||
|
cava
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wget
|
wget
|
||||||
git
|
git
|
||||||
|
@ -155,13 +147,17 @@
|
||||||
qt5.qtwayland
|
qt5.qtwayland
|
||||||
qt6.full
|
qt6.full
|
||||||
qt5.full
|
qt5.full
|
||||||
|
libvirt
|
||||||
|
qemu_kvm
|
||||||
cmake
|
cmake
|
||||||
meson
|
meson
|
||||||
python3
|
python3
|
||||||
python3.pkgs.pip
|
python3.pkgs.pip
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|
||||||
system.stateVersion = "23.05"; # Did you read the comment?
|
# programs
|
||||||
|
programs.steam.enable = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixFlakes;
|
package = pkgs.nixFlakes;
|
||||||
|
@ -222,7 +218,10 @@
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [
|
||||||
"qtwebkit-5.212.0-alpha4"
|
"qtwebkit-5.212.0-alpha4"
|
||||||
|
"electron-12.2.3"
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
system.stateVersion = "23.05";
|
||||||
|
|
||||||
|
}
|
||||||
|
|
|
@ -44,7 +44,7 @@ in
|
||||||
slurp
|
slurp
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wlr-randr
|
wlr-randr
|
||||||
wofi
|
rofi-wayland
|
||||||
];
|
];
|
||||||
|
|
||||||
services.dbus.enable = true;
|
services.dbus.enable = true;
|
||||||
|
@ -72,6 +72,11 @@ in
|
||||||
GDK_BACKEND = "wayland";
|
GDK_BACKEND = "wayland";
|
||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
|
PATH = [
|
||||||
|
"$HOME/bin/swww"
|
||||||
|
"$HOME/bin/swww-daemon"
|
||||||
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.greetd = {
|
services.greetd = {
|
||||||
|
|
Loading…
Reference in a new issue