Feature: New Jupiter Server machine

This commit is contained in:
marthsincemelee
2023-10-13 22:45:35 +02:00
parent 3174128bab
commit 5aae4ebf13
3 changed files with 64 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
{ config, pkgs, lib, ... }:
{
imports = [
./disks.nix
./hardware-configuration.nix
./environments.nix
];
networking.hostName = "jupiter-server";
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.kernelPackages = pkgs.unstable.linuxPackages_latest;
# Configure keymap in X11
services.xserver = {
layout = "de";
xkbVariant = "";
};
# Configure console keymap
console.keyMap = "de";
system = {
stateVersion = "23.05";
autoUpgrade.enable = true;
};
}
+15
View File
@@ -0,0 +1,15 @@
{ config, lib, pkgs, ... }:
#TODO: CHECK THIS OUT: https://github.com/nix-community/disko its kinda better but felix does not support it
{
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c95c64ad-f131-4bde-9bca-a7a3692173da";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/0D77-17BB";
fsType = "vfat";
};
}
+20
View File
@@ -0,0 +1,20 @@
# enabled profiles
{ config, lib, ... }:
let
secrets = config.sops.secrets;
in
{
my.profiles = {
hyprland.enable = false;
zsh.enable = true;
apps = {
desktop_apps = false;
dev_apps = true;
gnome_apps = false;
};
};
my.hardware = {
bluetooth.enable = true;
};
}