switched modules to flakes

This commit is contained in:
Dennis Wuitz
2023-12-24 18:48:52 +01:00
parent aca834a717
commit 469038e980
37 changed files with 150 additions and 2197 deletions

View File

@ -1,7 +1,5 @@
{ pkgs, lib, config, ... }:
let
in {
{ pkgs, ... }:
{
i18n = {
defaultLocale = "en_US.utf8";
supportedLocales = [
@ -10,7 +8,6 @@ in {
];
};
networking.firewall.allowedTCPPorts = [ 22 ];
services = {
@ -26,13 +23,6 @@ in {
};
};
users.users.brain = {
isNormalUser = true;
description = "Administrator";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.zsh;
};
nixpkgs.config.allowUnfree = true;
programs = {
@ -180,7 +170,7 @@ in {
options = "--delete-oder-than 14d";
};
diff-system = true;
diffSystem = true;
};
system = {