renamed hosts and working on multi user conf
This commit is contained in:
parent
a603eb08a4
commit
f7891e1f30
21 changed files with 208 additions and 75 deletions
4
hosts/orome/README.md
Normal file
4
hosts/orome/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Description
|
||||
|
||||
My work laptop, reasoning for the name being the following chain of thought:
|
||||
**Orome -> the huntsman -> hunting means leaving home -> work laptop travels with me**
|
45
hosts/orome/default.nix
Normal file
45
hosts/orome/default.nix
Normal file
|
@ -0,0 +1,45 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
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;
|
||||
};
|
||||
|
||||
desktop = {
|
||||
plasma.enable = true;
|
||||
|
||||
terminal = {
|
||||
default = "ghostty";
|
||||
ghostty.enable = true;
|
||||
};
|
||||
|
||||
editors = {
|
||||
default = "zed";
|
||||
zed.enable = true;
|
||||
nvim.enable = true;
|
||||
};
|
||||
|
||||
browsers = {
|
||||
default = "chromium";
|
||||
firefox.enable = true;
|
||||
chrome.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
corePkgs.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
35
hosts/orome/hardware.nix
Normal file
35
hosts/orome/hardware.nix
Normal 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;
|
||||
}
|
48
hosts/orome/users/chris/default.nix
Normal file
48
hosts/orome/users/chris/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ ... }:
|
||||
{
|
||||
# full_name = "Chris Kruining";
|
||||
# is_trusted = true;
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
desktop = {
|
||||
plasma.enable = true;
|
||||
|
||||
terminal = {
|
||||
default = "ghostty";
|
||||
ghostty.enable = true;
|
||||
};
|
||||
|
||||
editors = {
|
||||
default = "zed";
|
||||
zed.enable = true;
|
||||
nvim.enable = true;
|
||||
};
|
||||
|
||||
browsers = {
|
||||
default = "chromium";
|
||||
firefox.enable = true;
|
||||
chrome.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
corePkgs.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
48
hosts/orome/users/kaas/default.nix
Normal file
48
hosts/orome/users/kaas/default.nix
Normal file
|
@ -0,0 +1,48 @@
|
|||
{ ... }:
|
||||
{
|
||||
# full_name = "Kaas Mans";
|
||||
# is_trusted = false;
|
||||
|
||||
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;
|
||||
};
|
||||
|
||||
desktop = {
|
||||
plasma.enable = true;
|
||||
|
||||
terminal = {
|
||||
default = "ghostty";
|
||||
ghostty.enable = true;
|
||||
};
|
||||
|
||||
editors = {
|
||||
default = "zed";
|
||||
zed.enable = true;
|
||||
nvim.enable = true;
|
||||
};
|
||||
|
||||
browsers = {
|
||||
default = "chromium";
|
||||
firefox.enable = true;
|
||||
chrome.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
shell = {
|
||||
default = "zsh";
|
||||
corePkgs.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue