first commit
This commit is contained in:
120
history/configuration.nix 22-03-25
Normal file
120
history/configuration.nix 22-03-25
Normal file
@@ -0,0 +1,120 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
myAppImageLauncher = import /etc/nixos/apps/appimagelauncher.nix {
|
||||
lib = pkgs.lib;
|
||||
stdenv = pkgs.stdenv;
|
||||
fetchFromGitHub = pkgs.fetchFromGitHub;
|
||||
cmake = pkgs.cmake;
|
||||
git = pkgs.git;
|
||||
pkg-config = pkgs.pkg-config;
|
||||
automake = pkgs.automake;
|
||||
autoconf = pkgs.autoconf;
|
||||
libtool = pkgs.libtool;
|
||||
unixtools = pkgs.unixtools;
|
||||
desktop-file-utils = pkgs.desktop-file-utils;
|
||||
python3 = pkgs.python3;
|
||||
wrapQtAppsHook = pkgs.wrapGAppsHook; # ersetzt wrapQtAppsHook durch wrapGAppsHook
|
||||
openssl = pkgs.openssl;
|
||||
curl = pkgs.curl;
|
||||
wget = pkgs.wget;
|
||||
glib = pkgs.glib;
|
||||
zlib = pkgs.zlib;
|
||||
cairo = pkgs.cairo;
|
||||
pcre = pkgs.pcre;
|
||||
pcre2 = pkgs.pcre2;
|
||||
librsvg = pkgs.librsvg;
|
||||
"util-linux" = pkgs.util-linux;
|
||||
xorg = pkgs.xorg;
|
||||
libselinux = pkgs.libselinux;
|
||||
libsepol = pkgs.libsepol;
|
||||
xz = pkgs.xz;
|
||||
fuse = pkgs.fuse;
|
||||
libarchive = pkgs.libarchive;
|
||||
squashfuse = pkgs.squashfuse;
|
||||
"xdg-utils" = pkgs.xdg-utils;
|
||||
glibc_multi = pkgs.glibc_multi;
|
||||
appimagekit = pkgs.appimagekit;
|
||||
qt5 = pkgs.qt5;
|
||||
};
|
||||
in {
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
# Bootloader
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "nixos-leo";
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
i18n.extraLocaleSettings = {
|
||||
LC_ADDRESS = "de_DE.UTF-8";
|
||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||
LC_MONETARY = "de_DE.UTF-8";
|
||||
LC_NAME = "de_DE.UTF-8";
|
||||
LC_NUMERIC = "de_DE.UTF-8";
|
||||
LC_PAPER = "de_DE.UTF-8";
|
||||
LC_TELEPHONE = "de_DE.UTF-8";
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
|
||||
services.xserver.enable = true;
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
services.xserver.xkb = {
|
||||
layout = "de";
|
||||
variant = "";
|
||||
};
|
||||
console.keyMap = "de";
|
||||
|
||||
services.printing.enable = true;
|
||||
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
users.users.leo = {
|
||||
isNormalUser = true;
|
||||
description = "leo";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
packages = with pkgs; [
|
||||
kdePackages.kate
|
||||
pkgs.vesktop
|
||||
pkgs.brave
|
||||
pkgs.localsend
|
||||
pkgs.git
|
||||
pkgs.pciutils
|
||||
];
|
||||
};
|
||||
|
||||
programs.firefox.enable = true;
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
micro
|
||||
nano
|
||||
btop
|
||||
myAppImageLauncher
|
||||
];
|
||||
|
||||
programs.bash.shellAliases = {
|
||||
l = "ls -alh";
|
||||
ll = "ls -l";
|
||||
ls = "ls --color=tty";
|
||||
};
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
}
|
||||
Reference in New Issue
Block a user