pearl: setup

This commit is contained in:
Daniel Lundin 2024-09-03 19:07:26 +02:00
parent d8cd9df7d3
commit d3be213bd8
Signed by: dln
SSH key fingerprint: SHA256:Vhqxf7VIXwfS0r2j6bJiJ5A+hjhzMODtihuHIybqf3s
3 changed files with 67 additions and 20 deletions

View file

@ -50,7 +50,6 @@ in
defaultFonts = {
serif = [ "Liberation Serif" ];
sansSerif = [ "Inter" ];
monospace = [ "BerkeleyMono Nerd Font" ];
};
hinting.enable = true;
hinting.style = "slight";

37
hosts/pearl/apps.nix Normal file
View file

@ -0,0 +1,37 @@
{
lib,
pkgs,
...
}:
{
programs.firefox.enable = true;
environment.systemPackages = with pkgs; [
calibre
gimp
gnomeExtensions.emoji-copy
gnomeExtensions.just-perfection
gnomeExtensions.vitals
gnome-pomodoro
gnome-tweaks
hitori
inkscape
krita
moonlight-qt
obsidian
pavucontrol
plexamp
signal-desktop
];
environment.gnome.excludePackages =
[
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
}

View file

@ -8,7 +8,10 @@
...
}:
{
imports = [ ./hardware-configuration.nix ];
imports = [
./hardware-configuration.nix
./apps.nix
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -25,14 +28,9 @@
hardware.enableAllFirmware = true;
#environment.systemPackages = with pkgs; [
#];
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
programs.adb.enable = true;
networking = {
hostName = "pearl";
domain = "aarn.patagia.dev";
@ -48,17 +46,30 @@
time.timeZone = "Europe/Stockholm";
users.users.dln = {
isNormalUser = true;
description = "Daniel Lundin";
extraGroups = [
"lp"
"wheel"
];
openssh.authorizedKeys.keys = [
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILwakA+EeuR23vRhjvjMkzK+FtWIhpnbs7z1pfnBehCUAAAABHNzaDo= dln@dinky"
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIJNOBFoU7Cdsgi4KpYRcv7EhR/8kD4DYjEZnwk6urRx7AAAABHNzaDo= dln@nemo"
];
users.users = {
annso = {
isNormalUser = true;
description = "Ann-Sofie Stenberg";
extraGroups = [
"lp"
"video"
"audio"
"wheel"
];
};
dln = {
isNormalUser = true;
description = "Daniel Lundin";
extraGroups = [
"lp"
"wheel"
];
openssh.authorizedKeys.keys = [
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAILwakA+EeuR23vRhjvjMkzK+FtWIhpnbs7z1pfnBehCUAAAABHNzaDo= dln@dinky"
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIJNOBFoU7Cdsgi4KpYRcv7EhR/8kD4DYjEZnwk6urRx7AAAABHNzaDo= dln@nemo"
];
};
};
patagia = {
@ -71,7 +82,7 @@
systemd.services."getty@tty1".enable = false;
systemd.services."autovt@tty1".enable = false;
# Enable the X11 windowing system.
# Enable the X11 windowing system.
services.xserver.enable = true;
# Enable the GNOME Desktop Environment.
@ -81,7 +92,7 @@
# Configure keymap in X11
services.xserver.xkb = {
layout = "se";
variant = "us";
# variant = "us";
};
# Configure console keymap