-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
22 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ pkgs }: { | ||
# Read the changelog before changing this value | ||
home.stateVersion = "23.11"; | ||
|
||
# insert home-manager config | ||
|
||
home.packages = | ||
import ../../home-manager/packages/basic.nix { inherit pkgs; }; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,17 @@ | ||
{ config, lib, pkgs, ... }: { | ||
# Simply install just the packages | ||
environment.packages = with pkgs; [ | ||
# User-facing stuff that you really really want to have | ||
vim # or some other editor, e.g. nano or neovim | ||
git | ||
hostname | ||
|
||
# Some common stuff that people expect to have | ||
#procps | ||
#killall | ||
#diffutils | ||
#findutils | ||
#utillinux | ||
#tzdata | ||
#man | ||
#gnugrep | ||
#gnupg | ||
#gnused | ||
#gnutar | ||
#bzip2 | ||
#gzip | ||
#xz | ||
#zip | ||
#unzip | ||
]; | ||
|
||
# Backup etc files instead of failing to activate generation if a file already exists in /etc | ||
{ config, lib, pkgs }: { | ||
environment.etcBackupExtension = ".bak"; | ||
|
||
# Read the changelog before changing this value | ||
system.stateVersion = "23.11"; | ||
|
||
# Set up nix for flakes | ||
nix.extraOptions = '' | ||
experimental-features = nix-command flakes | ||
''; | ||
|
||
# Set your time zone | ||
#time.timeZone = "Europe/Berlin"; | ||
time.timeZone = "Asia/Tokyo"; | ||
|
||
home-manager = { | ||
config = ./home.nix; | ||
backupFileExtension = "hm-bak"; | ||
useGlobalPkgs = true; | ||
}; | ||
} |