renamed hosts and working on multi user conf

This commit is contained in:
Chris Kruining 2025-03-18 14:37:23 +01:00
parent a603eb08a4
commit f7891e1f30
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
21 changed files with 208 additions and 75 deletions

4
hosts/manwe/README.md Normal file
View file

@ -0,0 +1,4 @@
# Description
My desktop, reasoning for the name being the following chain of thought:
**Manwe -> the king of the valar -> leader -> desktop is main machine**

78
hosts/manwe/default.nix Normal file
View file

@ -0,0 +1,78 @@
{ config, lib, pkgs, ... }:
{
user.name = "chris";
fileSystems."/home/chris/games" = {
device = "/dev/disk/by-label/games";
fsType = "ext4";
};
fileSystems."/home/chris/data" = {
device = "/dev/disk/by-label/Data";
fsType = "ntfs-3g";
options = [ "rw" "uid=chris" ];
};
modules = {
themes = {
enable = true;
theme = "everforest";
polarity = "dark";
};
system.audio.enable = true;
networking.enable = true;
develop = {
rust.enable = true;
js.enable = true;
dotnet.enable = true;
};
# EXPERIMENTS
# services.games.minecraft.enable = true;
services.auth.enable = true;
desktop = {
plasma.enable = true;
applications = {
communication.enable = true;
email.enable = true;
office.enable = true;
steam.enable = true;
recording.enable = true;
};
terminal = {
default = "ghostty";
alacritty.enable = true;
ghostty.enable = true;
};
editors = {
default = "zed";
vscodium.enable = true;
zed.enable = true;
nvim.enable = true;
nano.enable = true;
kate.enable = true;
};
browsers = {
default = "chromium";
firefox.enable = true;
chrome.enable = true;
};
games = {
minecraft.enable = true;
};
};
shell = {
default = "zsh";
corePkgs.enable = true;
};
};
}

35
hosts/manwe/hardware.nix Normal file
View file

@ -0,0 +1,35 @@
{ config, lib, pkgs, modulesPath, ... }:
let
inherit (lib.modules) mkDefault;
in
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/8c4eaf57-fdb2-4c4c-bcc0-74e85a1c7985";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/C842-316A";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/0ddf001a-5679-482e-b254-04a1b9094794"; }
];
boot = {
initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
initrd.kernelModules = [ ];
kernelModules = [ "kvm-intel" ];
kernelParams = [];
extraModulePackages = [ ];
};
networking.useDHCP = mkDefault true;
nixpkgs.hostPlatform = mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -0,0 +1,5 @@
{}:
{
full_name = "WOOOP WOOOP";
is_trusted = false;
}