8000 GitHub - kemalmao19/flake: Nix Home Manager, Darwin & NixOS with Flake
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kemalmao19/flake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nix Home Manager

Alt text

This is simple nix flake

Nix Darwin

running nix package & home manager on darwin

Linux Home manager

nix home manager for any kind linux distribution

Nixos

my NixOS configuration for old MacBook Pro

nixvim

nix run github:kemalmao19/flake#nixvim

How to use my flake

Prerequisite

Nix Package Manager

Easy install with determinate systems:

curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
// with SSH

git clone git@github.com:kemalmao19/flake

// OR with HTTP
git clone https://github.com/kemalmao19/flake
  • Change directory to flake
cd flake

Nix Darwin + Home manager

  • Run Build
    command for build: nix build .#darwinConfigurations.[NAME].system
    Available for [NAME]:
    • kemalmao
nix build .#darwinConfigurations.kemalmao.system
  • Apply Build result command for apply the result: darwin-rebuild switch --flake .#[NAME]
    Available for [NAME]:
    • kemalmao
      After Run Build you can apply from darwin-rebuild switch --flake .#kemalmao with this command
darwin-rebuild switch --flake .#kemalmao
  • Done

Nix Linux Home Manager

  • Run Build
    command for build: nix build .#homeConfigurations.[NAME].activationPackage
    Available for [NAME]:
    • kemalmao
nix build .#homeConfigurations.kemalmao.activationPackage
  • Apply Build result command for apply the result: ./result/activate
./result/activate

next u can use this for updating config

home-manager switch --flake .
  • Done

Nixos

You can try

sudo nixos-rebuild switch --flake .#kemalmao

About

Nix Home Manager, Darwin & NixOS with Flake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0