1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 10:11:08 +01:00
Files
niveum/systems/kibbeh/configuration.nix

110 lines
2.8 KiB
Nix
Raw Normal View History

2025-02-11 21:04:02 +01:00
{ config, pkgs, niveumPackages, ... }:
2025-02-11 15:51:06 +01:00
{
2025-02-11 21:04:02 +01:00
imports = [
./hardware-configuration.nix
../../configs/spacetime.nix
../../configs/admin-essentials.nix
../../configs/keyboard.nix
../../configs/sound.nix
../../configs/printing.nix
../../configs/nix.nix
../../configs/flix.nix
../../configs/fonts.nix
2025-03-05 10:04:45 +01:00
../../configs/mycelium.nix
2025-02-11 21:04:02 +01:00
../../configs/retiolum.nix
../../configs/sshd.nix
../../configs/sudo.nix
../../configs/zsh.nix
../../configs/tor.nix
];
age.secrets = {
retiolum-rsa = {
file = ../../secrets/kibbeh-retiolum-privateKey-rsa.age;
mode = "400";
owner = "tinc-retiolum";
group = "tinc-retiolum";
};
retiolum-ed25519 = {
file = ../../secrets/kibbeh-retiolum-privateKey-ed25519.age;
mode = "400";
owner = "tinc-retiolum";
group = "tinc-retiolum";
};
};
services.gnome.gnome-keyring.enable = true;
security.pam.services.lightdm.enableGnomeKeyring = true;
2025-02-11 15:51:06 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2025-02-11 21:04:02 +01:00
services.openssh.enable = true;
2025-02-11 15:51:06 +01:00
2025-02-11 21:04:02 +01:00
boot.initrd.luks.devices."luks-b3988d35-72a9-4e7c-992d-f500bb388554".device =
"/dev/disk/by-uuid/b3988d35-72a9-4e7c-992d-f500bb388554";
2025-02-11 15:51:06 +01:00
2025-02-11 21:04:02 +01:00
networking.hostName = "kibbeh";
2025-02-11 15:51:06 +01:00
networking.networkmanager.enable = true;
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";
};
services.xserver.enable = true;
services.xserver.displayManager.lightdm.enable = true;
services.xserver.desktopManager.pantheon.enable = true;
2025-02-11 21:04:02 +01:00
# services.displayManager.autoLogin.enable = true;
# services.displayManager.autoLogin.user = config.users.users.me.name;
2025-02-11 15:51:06 +01:00
2025-02-11 21:04:02 +01:00
age.secrets = {
di-fm-key.file = ../../secrets/di-fm-key.age;
2025-02-11 15:51:06 +01:00
};
2025-02-11 21:04:02 +01:00
users.users.me = {
name = "kfm";
2025-02-11 15:51:06 +01:00
isNormalUser = true;
2025-02-11 21:04:02 +01:00
description = "ि";
extraGroups = [ "networkmanager" ];
password = "hackme";
2025-02-11 15:51:06 +01:00
packages = with pkgs; [
2025-02-11 21:04:02 +01:00
# packages TODO
2025-02-11 15:51:06 +01:00
firefox
2025-02-11 21:04:02 +01:00
thunderbird
alacritty
tor-browser-bundle-bin
zathura
okular
anki-bin
libreoffice
xournalpp
jellyfin-media-player
niveumPackages.mpv-tv
2025-02-13 19:14:55 +01:00
telegram-desktop
2025-02-11 21:04:02 +01:00
(niveumPackages.mpv-radio.override { di-fm-key-file = config.age.secrets.di-fm-key.path; })
niveumPackages.meteo
spotify
2025-02-11 15:51:06 +01:00
];
};
environment.systemPackages = with pkgs; [
2025-02-11 21:04:02 +01:00
htop
git
vim
2025-02-26 10:06:44 +01:00
tmux
2025-02-11 21:04:02 +01:00
(niveumPackages.vim.override { colorscheme = "base16-gruvbox-dark-medium"; })
2025-02-11 15:51:06 +01:00
];
2025-02-11 21:04:02 +01:00
system.stateVersion = "23.11";
2025-02-11 15:51:06 +01:00
}