summaryrefslogtreecommitdiff
path: root/nixos/default.nix
diff options
context:
space:
mode:
authorcaley <u65487754@gmail.com>2026-06-11 23:03:23 +0200
committerGitHub <noreply@github.com>2026-06-11 23:03:23 +0200
commit3fe32bb1bb136f6c7ef3a2c34b37544f7db6eb28 (patch)
tree550b4534be6928ee74f957c74d311ce046558837 /nixos/default.nix
parentd1692a6ccc173ec54042294db818061628a65d70 (diff)
Update and rename configuration.nix to default.nix
Diffstat (limited to 'nixos/default.nix')
-rw-r--r--nixos/default.nix46
1 files changed, 46 insertions, 0 deletions
diff --git a/nixos/default.nix b/nixos/default.nix
new file mode 100644
index 0000000..7b439be
--- /dev/null
+++ b/nixos/default.nix
@@ -0,0 +1,46 @@
+{ pkgs, ... }: {
+ nix.settings.experimental-features = [ "nix-command" "flakes" ];
+ nix.settings.auto-optimise-store = true;
+
+ nix.gc = {
+ automatic = true;
+ dates = "weekly";
+ options = "--delete-older-than 7d";
+ };
+
+ boot.kernelPackages = pkgs.linuxPackages_latest;
+
+ 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";
+ };
+
+ nixpkgs.config.allowUnfree = true;
+
+ programs.fish.enable = true;
+
+ users.users.cat = {
+ isNormalUser = true;
+ description = "cat";
+ extraGroups = [ "wheel" ];
+ shell = pkgs.fish;
+ };
+
+ environment.systemPackages = with pkgs; [
+ btop
+ git
+ neovim
+ ];
+
+ documentation.enable = false;
+ documentation.man.enable = false;
+}