modularize desktop components

This commit is contained in:
2024-04-13 16:42:51 +02:00
parent d3da8ba3ac
commit e0176ec2d9
14 changed files with 141 additions and 96 deletions

View File

@@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, inputs, ... }:
{ pkgs, inputs, ... }:
{
imports =
@@ -16,11 +16,15 @@
../../modules/hardware/bluetooth.nix
../../modules/hardware/printing.nix
../../modules/hardware/sound.nix
../../modules/desktop/hyprland.nix
../../modules/services/docker.nix
../../modules/desktop/dm
../../modules/desktop/de
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
desktop.dm.name = "sddm";
desktop.dm.autologin = "jonas";
desktop.de.plasma.enable = true;
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
@@ -29,7 +33,7 @@
users.users.jonas = {
isNormalUser = true;
description = "Jonas";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [ "networkmanager" "wheel" "docker"];
packages = with pkgs; [ ];
};
users.defaultUserShell = pkgs.zsh;