working on usbstick
This commit is contained in:
parent
77459df69c
commit
800045c1c5
5 changed files with 31 additions and 30 deletions
|
@ -19,16 +19,16 @@ with lib;
|
|||
|
||||
# symbol fonts
|
||||
# ------------
|
||||
nerdfonts
|
||||
powerline-fonts
|
||||
font-awesome
|
||||
fira-code-symbols
|
||||
jetbrains-mono
|
||||
#nerdfonts
|
||||
#powerline-fonts
|
||||
#font-awesome
|
||||
#fira-code-symbols
|
||||
#jetbrains-mono
|
||||
|
||||
# shell font
|
||||
# ----------
|
||||
terminus_font
|
||||
gohufont
|
||||
#terminus_font
|
||||
#gohufont
|
||||
|
||||
];
|
||||
|
||||
|
|
|
@ -32,6 +32,7 @@ let
|
|||
in
|
||||
{
|
||||
|
||||
# todo : move this to the proper place
|
||||
options.components.network.zerotier = {
|
||||
enable = mkOption {
|
||||
type = bool;
|
||||
|
|
|
@ -468,9 +468,9 @@
|
|||
host = "orbi.bear";
|
||||
#host = "95.216.66.212";
|
||||
modules = [
|
||||
zerotierModules
|
||||
homeManagerModules
|
||||
stylixModules
|
||||
zerotierModules
|
||||
srvos.nixosModules.hardware-hetzner-online-intel
|
||||
#srvos.nixosModules.server
|
||||
#srvos.nixosModules.mixins-terminfo
|
||||
|
@ -510,9 +510,10 @@
|
|||
#host = "usbstick.bear";
|
||||
host = "10.100.0.100";
|
||||
modules = [
|
||||
zerotierModules
|
||||
homeManagerModules
|
||||
stylixModules
|
||||
zerotierModules
|
||||
{ home-manager.users.mainUser.gui.enable = true; }
|
||||
{
|
||||
home-manager.users.mainUser = import ./homes/palo;
|
||||
home-manager.users.root = import ./homes/root;
|
||||
|
|
|
@ -10,31 +10,32 @@
|
|||
];
|
||||
|
||||
components.gui.enable = true;
|
||||
|
||||
components.gui.wayland.enable = false;
|
||||
components.gui.xorg.enable = true;
|
||||
components.mainUser.enable = true;
|
||||
components.network.enable = true;
|
||||
components.monitor.enable = false;
|
||||
|
||||
#networking.networkmanager.enable = true;
|
||||
components.network.enable = true;
|
||||
components.network.wifi.enable = true;
|
||||
components.terminal.enable = true;
|
||||
|
||||
networking.hostName = "usbstick";
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
#time.timeZone = "Europe/Berlin";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim
|
||||
wget
|
||||
htop
|
||||
silver-searcher
|
||||
];
|
||||
#environment.systemPackages = with pkgs; [
|
||||
# vim
|
||||
# wget
|
||||
# htop
|
||||
# silver-searcher
|
||||
#];
|
||||
|
||||
environment.extraInit = ''
|
||||
# use vi shortcuts
|
||||
# ----------------
|
||||
set -o vi
|
||||
EDITOR=vim
|
||||
'';
|
||||
#environment.extraInit = ''
|
||||
# # use vi shortcuts
|
||||
# # ----------------
|
||||
# set -o vi
|
||||
# EDITOR=vim
|
||||
#'';
|
||||
|
||||
services.openssh.enable = true;
|
||||
|
||||
|
|
|
@ -21,13 +21,11 @@
|
|||
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/sda3";
|
||||
boot.initrd.luks.devices."root-enc".device = "/dev/disk/by-uuid/c2a56e0f-f831-4d21-8cf4-7ddf3901ea8a";
|
||||
|
||||
fileSystems."/boot" =
|
||||
{
|
||||
#device = "/dev/disk/by-uuid/EBCE-D756";
|
||||
device = "/dev/sda2";
|
||||
device = "/dev/disk/by-uuid/EBCE-D756";
|
||||
fsType = "vfat";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue