[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.portal {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
];
};
# gnome
services.xserver.displayManager.gdm.enable = true;

View File

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

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;
}