[hyprland] style: various style improvements

This commit is contained in:
Simon Cornet 2024-06-04 13:31:49 +02:00
parent b31e1ddc43
commit 16f1634592
8 changed files with 30 additions and 36 deletions

View File

@ -1,17 +1,19 @@
{ config, pkgs, ... }: {
# x11
services.xserver.enable = true;
services.xserver = {
enable = true;
layout = "us";
xkbVariant = "";
};
# xdg portals
xdg.portal.enable = true;
xdg.portal.extraPortals = with pkgs; [
xdg-desktop-portal-wlr
];
xdg.portal {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
];
};
# gnome
services.xserver.displayManager.gdm.enable = true;

View File

@ -1,15 +1,15 @@
{ config, lib, pkgs, ... }: {
# hardware
hardware.opengl.enable = true;
hardware.opengl.enable = true;
hardware.enableRedistributableFirmware = true;
# hardware logitech
hardware.logitech.wireless.enable = true;
hardware.logitech.wireless.enable = true;
hardware.logitech.wireless.enableGraphical = true;
# enable bluetooth
hardware.bluetooth.enable = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
# power management

View File

@ -1,7 +1,7 @@
{ config, pkgs, ... }: {
# networking
networking.firewall.enable = false;
networking.networkmanager.enable = true;
networking.firewall.enable = false;
}

View File

@ -4,11 +4,9 @@
nix = {
# garbage collection
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
gc.automatic = true;
gc.dates = "weekly";
gc.options = "--delete-older-than 7d";
# nix package with flakes
package = pkgs.nixFlakes;

View File

@ -7,8 +7,12 @@
users.users.simon = {
isNormalUser = true;
description = "Simon Cornet";
extraGroups = [ "libvirtd" "networkmanager" "wheel" ];
initialPassword = "changeme";
shell = pkgs.zsh;
extraGroups = [
"libvirtd"
"networkmanager"
"wheel"
];
};
}

View File

@ -1,24 +1,15 @@
{ config, pkgs, ... }: {
# enable sound
sound = {
enable = true;
};
sound.enable = true;
# disable pulseaudio
hardware = {
pulseaudio = {
enable = false;
};
};
hardware.pulseaudio.enable = false;
# enable pipewire
services.pipewire = {
enable = true;
pulse.enable = true;
alsa = {
enable = true;
support32Bit = true;
};
};
services.pipewire.enable = true;
services.pipewire.pulse.enable = true;
services.pipewire.alsa.enable = true;
services.pipewire.alsa.support32Bit = true;
}

View File

@ -1,7 +1,6 @@
{ config, pkgs, ... }: {
# steam
programs.steam = {
enable = true;
};
programs.steam.enable = true;
}

View File

@ -13,8 +13,8 @@
# podman
podman = {
enable = true;
dockerCompat = true;
enable = true;
dockerCompat = true;
defaultNetwork.settings.dns_enabled = true;
};
};