diff options
| author | caley <u65487754@gmail.com> | 2026-06-12 22:29:31 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-12 22:29:31 +0200 |
| commit | 2c7d682623ea2e2a265c70b6b08da2c871c65875 (patch) | |
| tree | 4b2674e31192af6d58206663981a143f4220e3ef /nixos | |
| parent | 3e7dbc1098b543c81b6760db0d1a3c243241a565 (diff) | |
Update and rename default.nix to conguration.nix
Diffstat (limited to 'nixos')
| -rw-r--r-- | nixos/hosts/box/conguration.nix (renamed from nixos/hosts/box/default.nix) | 59 |
1 files changed, 47 insertions, 12 deletions
diff --git a/nixos/hosts/box/default.nix b/nixos/hosts/box/conguration.nix index 376989b..70acf16 100644 --- a/nixos/hosts/box/default.nix +++ b/nixos/hosts/box/conguration.nix @@ -1,23 +1,25 @@ -{ config, pkgs, ... }: { - imports = [ - ./hardware-configuration.nix +{ config, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix ]; - networking.hostName = "box"; - networking.networkmanager.enable = true; + nix.settings.experimental-features = [ "nix-command" "flakes" ]; + nix.settings.auto-optimise-store = true; - users.users.cat = { - isNormalUser = true; - description = "cat"; - extraGroups = [ "networkmanager" "wheel" ]; - shell = pkgs.fish; + nix.gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 7d"; }; - + boot.loader.grub = { enable = true; device = "/dev/nvme0n1"; useOSProber = true; }; + boot.kernelPackages = pkgs.linuxPackages_latest; zramSwap = { enable = true; @@ -26,6 +28,25 @@ services.getty.autologinUser = "cat"; services.fstrim.enable = true; + + networking.hostName = "box"; + 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"; + }; + + nixpkgs.config.allowUnfree = true; hardware.graphics = { enable = true; @@ -51,6 +72,7 @@ }; programs.hyprland.enable = true; + programs.fish.enable = true; programs.dconf.enable = true; programs.steam.enable = true; @@ -59,9 +81,19 @@ extraPortals = [ pkgs.xdg-desktop-portal-gtk ]; }; - environment.systemPackages = with pkgs; [ + users.users.cat = { + isNormalUser = true; + description = "cat"; + extraGroups = [ "networkmanager" "wheel" ]; + shell = pkgs.fish; + }; + +environment.systemPackages = with pkgs; [ + btop + git kitty wl-clipboard + neovim awww libnotify pywal @@ -87,5 +119,8 @@ twemoji-color-font ]; +documentation.enable = false; +documentation.man.enable = false; + system.stateVersion = "26.05"; } |
