[hyprland] style: various style improvements
This commit is contained in:
parent
b31e1ddc43
commit
16f1634592
@ -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;
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
# networking
|
||||
networking.networkmanager.enable = true;
|
||||
networking.firewall.enable = false;
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
@ -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;
|
||||
|
||||
}
|
||||
|
@ -1,7 +1,6 @@
|
||||
{ config, pkgs, ... }: {
|
||||
|
||||
# steam
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
};
|
||||
programs.steam.enable = true;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user