Find a file
2025-01-23 10:49:27 -05:00
img fresh start 2025-01-09 23:48:13 -05:00
other-config Some updates 2025-01-23 10:49:27 -05:00
.gitignore fresh start 2025-01-09 23:48:13 -05:00
configuration.nix Some updates 2025-01-23 10:49:27 -05:00
flake.lock fresh start 2025-01-09 23:48:13 -05:00
flake.nix fresh start 2025-01-09 23:48:13 -05:00
home.nix Added timezone fix to appointment function 2025-01-16 17:30:30 -05:00
host1.nix fresh start 2025-01-09 23:48:13 -05:00
ireneco.nix fresh start 2025-01-09 23:48:13 -05:00
misha.nix some minor edits 2025-01-13 14:46:52 -05:00
ml1.nix fresh start 2025-01-09 23:48:13 -05:00
README.org fresh start 2025-01-09 23:48:13 -05:00

Intro

/misha/nixos/media/branch/main/img/chris-setup.jpg

Emacs set-up

Notes for self

Initialization

  • Add vimHugeX for clipboard support

Nextcloud (untested)

  • Sync "nixos" Nextcloud folder
  • sudo nixos-rebuild switch
  • Add ssh keys to git.pub.solar to be able to push changes

    • ssh-keygen -t ecdsa -b 521

git.pub.solar

Old and new nixos

  • Move newly created nixos to home folder
  • Move cloned/synced nixos to /etc/nixos

If necessary: add new host

  • Rename newly created hardware-configuration with name of new host (e.g. ml1.nix) and add to new nixos folder.
  • Add the imports of configuration.nix and the users for ml1 to ml1.nix.
imports =
  [ 
    ./misha.nix #<- this
    ./configuration.nix #<- and this
    (modulesPath + "/installer/scan/not-detected.nix") #<- not this
  ];
  • Copy the bootlader lines up to and including networking.hostName from the newly created configuration.nix to the ml1.nix
#----------------
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;

boot.initrd.luks.devices."luks-75fbd436-3b4f-4912-b852-0f7be90995a9".device = "/dev/disk/by-uuid/75fbd436-3b4f-4912-b852-0f7be90995a9";
networking.hostName = "ml1"; # Define your hostname.

#----------------
  • Add the new host to flake.nix.
ml1 = nixpkgs.lib.nixosSystem {
  specialArgs = specialArgs;
  system = system;
  modules = shared-modules ++ [ ./ml1.nix];

TODO List

  • Create an ISO image with vimHugeX and git
  • Test VimHugeX clipboard support in new host
  • Test Nextcloud sync to get git repo