50 lines
1 KiB
Nix
Executable file
50 lines
1 KiB
Nix
Executable file
# 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’).
|
||
|
||
{
|
||
inputs,
|
||
flake,
|
||
pkgs,
|
||
...
|
||
}:
|
||
|
||
{
|
||
imports = [
|
||
# Include the results of the hardware scan.
|
||
./hardware-configuration.nix
|
||
inputs.fachschaft.nixosModules.printer
|
||
]
|
||
++ (with flake.modules.nixos; [
|
||
default
|
||
kde
|
||
gaming
|
||
comin
|
||
]);
|
||
|
||
# Select internationalisation properties.
|
||
i18n.defaultLocale = "en_US.UTF-8";
|
||
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users."moritz" = {
|
||
isNormalUser = true;
|
||
description = "Moritz";
|
||
extraGroups = [
|
||
"networkmanager"
|
||
"wheel"
|
||
];
|
||
packages = with pkgs; [ ];
|
||
};
|
||
|
||
# Allow unfree packages
|
||
nixpkgs.config.allowUnfree = true;
|
||
|
||
nix.optimise.automatic = true;
|
||
nix.gc = {
|
||
automatic = true;
|
||
dates = "weekly";
|
||
options = "--delete-older-than 30d";
|
||
};
|
||
|
||
system.stateVersion = "26.05"; # Do not change
|
||
}
|