working on usbstick
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 13m3s

This commit is contained in:
Ingolf Wagner 2024-08-11 00:02:11 +02:00
parent 77459df69c
commit 800045c1c5
Signed by: palo
GPG key ID: 76BF5F1928B9618B
5 changed files with 31 additions and 30 deletions

View file

@ -19,16 +19,16 @@ with lib;
# symbol fonts # symbol fonts
# ------------ # ------------
nerdfonts #nerdfonts
powerline-fonts #powerline-fonts
font-awesome #font-awesome
fira-code-symbols #fira-code-symbols
jetbrains-mono #jetbrains-mono
# shell font # shell font
# ---------- # ----------
terminus_font #terminus_font
gohufont #gohufont
]; ];

View file

@ -32,6 +32,7 @@ let
in in
{ {
# todo : move this to the proper place
options.components.network.zerotier = { options.components.network.zerotier = {
enable = mkOption { enable = mkOption {
type = bool; type = bool;

View file

@ -468,9 +468,9 @@
host = "orbi.bear"; host = "orbi.bear";
#host = "95.216.66.212"; #host = "95.216.66.212";
modules = [ modules = [
zerotierModules
homeManagerModules homeManagerModules
stylixModules stylixModules
zerotierModules
srvos.nixosModules.hardware-hetzner-online-intel srvos.nixosModules.hardware-hetzner-online-intel
#srvos.nixosModules.server #srvos.nixosModules.server
#srvos.nixosModules.mixins-terminfo #srvos.nixosModules.mixins-terminfo
@ -510,9 +510,10 @@
#host = "usbstick.bear"; #host = "usbstick.bear";
host = "10.100.0.100"; host = "10.100.0.100";
modules = [ modules = [
zerotierModules
homeManagerModules homeManagerModules
stylixModules stylixModules
zerotierModules
{ home-manager.users.mainUser.gui.enable = true; }
{ {
home-manager.users.mainUser = import ./homes/palo; home-manager.users.mainUser = import ./homes/palo;
home-manager.users.root = import ./homes/root; home-manager.users.root = import ./homes/root;

View file

@ -10,31 +10,32 @@
]; ];
components.gui.enable = true; components.gui.enable = true;
components.gui.wayland.enable = false;
components.gui.xorg.enable = true;
components.mainUser.enable = true; components.mainUser.enable = true;
components.network.enable = true;
components.monitor.enable = false; components.monitor.enable = false;
components.network.enable = true;
#networking.networkmanager.enable = true; components.network.wifi.enable = true;
components.terminal.enable = true;
networking.hostName = "usbstick"; networking.hostName = "usbstick";
# Set your time zone. # Set your time zone.
time.timeZone = "Europe/Berlin"; #time.timeZone = "Europe/Berlin";
environment.systemPackages = with pkgs; [ #environment.systemPackages = with pkgs; [
vim # vim
wget # wget
htop # htop
silver-searcher # silver-searcher
]; #];
environment.extraInit = '' #environment.extraInit = ''
# use vi shortcuts # # use vi shortcuts
# ---------------- # # ----------------
set -o vi # set -o vi
EDITOR=vim # EDITOR=vim
''; #'';
services.openssh.enable = true; services.openssh.enable = true;

View file

@ -21,13 +21,11 @@
fsType = "ext4"; fsType = "ext4";
}; };
#boot.initrd.luks.devices."root-enc".device = "/dev/disk/by-uuid/c2a56e0f-f831-4d21-8cf4-7ddf3901ea8a"; boot.initrd.luks.devices."root-enc".device = "/dev/disk/by-uuid/c2a56e0f-f831-4d21-8cf4-7ddf3901ea8a";
boot.initrd.luks.devices."root-enc".device = "/dev/sda3";
fileSystems."/boot" = fileSystems."/boot" =
{ {
#device = "/dev/disk/by-uuid/EBCE-D756"; device = "/dev/disk/by-uuid/EBCE-D756";
device = "/dev/sda2";
fsType = "vfat"; fsType = "vfat";
}; };