[general] add gnome config, de-clutter puzzlevision system config

Signed-off-by: Jo <johannesreckers2006@gmail.com>
This commit is contained in:
Jo 2024-05-29 00:15:32 +02:00
parent 339bd28d1d
commit fbba93c16a
14 changed files with 257 additions and 53 deletions

View file

@ -8,10 +8,10 @@
}: {
# You can import other NixOS modules here
imports = [
# If you want to use modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
outputs.nixosModules.desktop.kde
inputs.hardware.nixosModules.common-pc-laptop
inputs.hardware.nixosModules.common-cpu-intel
inputs.hardware.nixosModules.common-pc-laptop-ssd
outputs.nixosModules.desktop.gnome
./hardware-configuration.nix
];
@ -46,13 +46,16 @@
options = "--delete-older-than 3d";
};
};
# Set hostname
networking.hostName = "puzzlevision";
# Enable networking
networking.networkmanager.enable = true;
# Install the latest kernel
boot.kernelPackages = pkgs.linuxPackages_latest;
# Improve SSD performance
fileSystems."/".options = [ "noatime" "nodiratime" "discard" ];
# Bootloader.
boot.loader.grub = {
enable = true;
@ -70,11 +73,6 @@
'';
};
networking.hostName = "puzzlevision";
# Enable networking
networking.networkmanager.enable = true;
# Set your time zone.
time.timeZone = "Europe/Berlin";
@ -114,8 +112,16 @@
};
# Enable bluetooth on boot
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
hardware.bluetooth = {
enable = true;
powerOnBoot = true;
settings = {
General = {
Disable = "Handsfree";
};
};
};
# Enable automatic screen rotation and similar features
hardware.sensor.iio.enable = true;
@ -134,11 +140,11 @@
users.defaultUserShell = pkgs.fish;
programs.fish.enable = true;
# Define a user account.
# Define user accounts
users.users = {
jo = {
isNormalUser = true;
description = "Personal account for general tasks";
description = "Jo";
initialPassword = "jo";
extraGroups = [ "networkmanager" "wheel" "docker" "tty" "dialout" ];
};