Skip to content

Ducksword/nix-portable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

disko

Use disko-install https://github.com/nix-community/disko/blob/master/docs/disko-install.md

disk-name is just a label

sudo nix run 'github:nix-community/disko/latest#disko-install' --  --experimental-features 'nix-command flakes' --flake .#desktop --disk main /dev/sda

How to make custom options

{ lib, config, pkgs, ... }:

let
  cfg = config.NAME;
in
{
  options = {
    NAME.enable = lib.mkEnableOption 
      "enable NAME";
  };

  config = lib.mkIf cfg.enable {

  };
}

How to install nixos

just is the only dependency for installing

nix-shell -p just

To install make sure the disk variable is set properly in install-btrfs.sh
then run

just install-nixos-hostname

This formats the disk and installs the filesystems
Next the hardware configuration is replaced with an updated one
Finally nixos is installed

post boot

Remeber to update your password
to install home-manager and flatpak

just install-user-zach

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published