foamat code

This commit is contained in:
2024-04-17 16:47:06 +02:00
parent 1c7a93963a
commit ebedd90923
23 changed files with 231 additions and 194 deletions

View File

@@ -1,31 +1,32 @@
# Edit this configuration file to define what should be installed on
# 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, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
../../modules/hardware/bluetooth.nix
../../modules/hardware/printing.nix
../../modules/hardware/sound.nix
../../modules/hardware/yubikey.nix
../../modules/services/docker.nix
../../modules/desktop/dm
../../modules/desktop/de
../../modules/desktop/fonts
../../modules/chat
../../modules/multimedia
];
config,
pkgs,
inputs,
...
}: {
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.home-manager
../../modules/hardware/bluetooth.nix
../../modules/hardware/printing.nix
../../modules/hardware/sound.nix
../../modules/hardware/yubikey.nix
../../modules/services/docker.nix
../../modules/desktop/dm
../../modules/desktop/de
../../modules/desktop/fonts
../../modules/chat
../../modules/multimedia
];
desktop.dm.name = "sddm";
desktop.dm.autologin = "jonas";
desktop.de.plasma.enable = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = ["nix-command" "flakes"];
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
@@ -34,7 +35,7 @@
users.users.jonas = {
isNormalUser = true;
description = "Jonas";
extraGroups = [ "networkmanager" "wheel" "docker"];
extraGroups = ["networkmanager" "wheel" "docker"];
};
users.defaultUserShell = pkgs.zsh;
@@ -46,6 +47,7 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
alejandra
docker
git
ranger
@@ -119,7 +121,4 @@
# touchpad
services.xserver.libinput.touchpad.naturalScrolling = true;
# steam
programs.steam.enable = true;
}