diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-04-23 16:22:43 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-04-23 16:22:43 +0200 |
| commit | e0f8ab7b0083ed48161d1a5843acd7b4ef777264 (patch) | |
| tree | 3bf93ed3e9bee5e45049517a657f6424043ccf5e | |
| parent | a66257577d527622b40f8e9fac1a913c61c1ae19 (diff) | |
| download | nix-infra-e0f8ab7b0083ed48161d1a5843acd7b4ef777264.tar.gz nix-infra-e0f8ab7b0083ed48161d1a5843acd7b4ef777264.tar.bz2 nix-infra-e0f8ab7b0083ed48161d1a5843acd7b4ef777264.zip | |
snapshot: Mi 23. Apr 16:22:43 CEST 2025
| -rw-r--r-- | srv/hadante/configuration.nix | 294 |
1 files changed, 148 insertions, 146 deletions
diff --git a/srv/hadante/configuration.nix b/srv/hadante/configuration.nix index 4cb6dc2..542522a 100644 --- a/srv/hadante/configuration.nix +++ b/srv/hadante/configuration.nix @@ -26,184 +26,186 @@ in }; }; + config = { - # Bootloader. - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; + # Bootloader. + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; - networking.hostName = "hadante"; # Define your hostname. - user = "nea"; + networking.hostName = "hadante"; # Define your hostname. + user = "nea"; - # Use lesbian nix - nix.package = pkgs.lix; + # Use lesbian nix + nix.package = pkgs.lix; - # Enable networking - networking.networkmanager.enable = true; + # Enable networking + networking.networkmanager.enable = true; - # Set your time zone. - time.timeZone = "Europe/Berlin"; + # Set your time zone. + time.timeZone = "Europe/Berlin"; - # Select internationalisation properties. - i18n.defaultLocale = "en_US.UTF-8"; + # Select internationalisation properties. + 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"; - }; - - # Enable the GNOME Desktop Environment. - services.displayManager.ly = { - settings = { - animation = "matrix"; - default_input = "password"; - text_in_center = true; + 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"; }; - enable = true; - }; - # Configure keymap in X11 - services.xserver.xkb = { - layout = "de"; - variant = ""; - }; - - # Configure console keymap - console.keyMap = "de"; - - # Enable CUPS to print documents. - services.printing.enable = true; - - # Enable sound with pipewire. - hardware.pulseaudio.enable = false; - security.rtkit.enable = true; - security.sudo.wheelNeedsPassword = false; - services.pipewire = { - enable = true; - alsa.enable = true; - alsa.support32Bit = true; - pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; - - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; - }; - - # Enable touchpad support (enabled default in most desktopManager). - # services.xserver.libinput.enable = true; - # Define a user account. Don't forget to set a password with ‘passwd’. - users.users.${config.user} = { - isNormalUser = true; - description = "Linnea Gräf"; - extraGroups = [ - "networkmanager" - "wheel" - ]; - packages = with pkgs; [ - # thunderbird - ]; - }; - users.defaultUserShell = pkgs.zsh; + # Enable the GNOME Desktop Environment. + services.displayManager.ly = { + settings = { + animation = "matrix"; + default_input = "password"; + text_in_center = true; + }; + enable = true; + }; + # Configure keymap in X11 + services.xserver.xkb = { + layout = "de"; + variant = ""; + }; - nixpkgs.config.allowUnfree = true; + # Configure console keymap + console.keyMap = "de"; - programs = { - firefox.enable = true; + # Enable CUPS to print documents. + services.printing.enable = true; - gnupg.agent = { + # Enable sound with pipewire. + hardware.pulseaudio.enable = false; + security.rtkit.enable = true; + security.sudo.wheelNeedsPassword = false; + services.pipewire = { enable = true; - enableSSHSupport = true; - pinentryPackage = pkgs.pinentry-qt; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + # If you want to use JACK applications, uncomment this + #jack.enable = true; + + # use the example session manager (no others are packaged yet so this is enabled by default, + # no need to redefine it in your config for now) + #media-session.enable = true; }; - direnv = { - enable = true; - nix-direnv.enable = true; + + # Enable touchpad support (enabled default in most desktopManager). + # services.xserver.libinput.enable = true; + + # Define a user account. Don't forget to set a password with ‘passwd’. + users.users.${config.user} = { + isNormalUser = true; + description = "Linnea Gräf"; + extraGroups = [ + "networkmanager" + "wheel" + ]; + packages = with pkgs; [ + # thunderbird + ]; }; - zsh = { - enable = true; - shellInit = '' - export ZDOTDIR=~/.config/zsh - ''; + users.defaultUserShell = pkgs.zsh; + + nixpkgs.config.allowUnfree = true; + + programs = { + firefox.enable = true; + + gnupg.agent = { + enable = true; + enableSSHSupport = true; + pinentryPackage = pkgs.pinentry-qt; + }; + direnv = { + enable = true; + nix-direnv.enable = true; + }; + zsh = { + enable = true; + shellInit = '' + export ZDOTDIR=~/.config/zsh + ''; + }; + + steam.enable = true; }; + nix.settings.experimental-features = [ + "nix-command" + "flakes" + ]; - steam.enable = true; - }; - nix.settings.experimental-features = [ - "nix-command" - "flakes" - ]; - - system.stateVersion = "25.05"; # Did you read the comment? + system.stateVersion = "25.05"; # Did you read the comment? - fonts.packages = with pkgs; [ + fonts.packages = with pkgs; [ - nerd-fonts.comic-shanns-mono - nerd-fonts.blex-mono - symbola + nerd-fonts.comic-shanns-mono + nerd-fonts.blex-mono + symbola - ]; - home-manager.users.${config.user} = { - programs.kitty = { - enable = true; + ]; + home-manager.users.${config.user} = { + programs.kitty = { + enable = true; + }; }; - }; - environment.systemPackages = ( - with pkgs; - [ - neovim - atuin - git - zsh - yadm - openssl - xxd - pinentry-qt - emacs - atuin + environment.systemPackages = ( + with pkgs; + [ + neovim + atuin + git + zsh + yadm + openssl + xxd + pinentry-qt + emacs + atuin - thunderbird - sway - webp-pixbuf-loader - delta - rofi + thunderbird + sway + webp-pixbuf-loader + delta + rofi - wezterm + wezterm - vesktop - ripgrep + vesktop + ripgrep - prismlauncher - jdk8 - jdk17 - jdk21 - jdk23 + prismlauncher + jdk8 + jdk17 + jdk21 + jdk23 - sbctl + sbctl - wl-clipboard + wl-clipboard - jetbrains.idea-ultimate - jetbrains.rust-rover + jetbrains.idea-ultimate + jetbrains.rust-rover - calibre + calibre - electrum + electrum - myss + myss - bolt-launcher + bolt-launcher - vscode - gamescope - ] - ); + vscode + gamescope + ] + ); + }; } |
