add a custom iso config
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
|
||||
# +#+#+#+#+#+ +#+ #
|
||||
# Created: 2025/02/09 01:43:46 by tomoron #+# #+# #
|
||||
# Updated: 2025/03/01 19:27:30 by tomoron ### ########.fr #
|
||||
# Updated: 2025/03/10 00:30:30 by tomoron ### ########.fr #
|
||||
# #
|
||||
# **************************************************************************** #
|
||||
|
||||
|
17
osConfigs/hosts/iso.nix
Normal file
17
osConfigs/hosts/iso.nix
Normal file
@ -0,0 +1,17 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [ ../packages.nix ];
|
||||
|
||||
environment.etc."skel/nix-config".source = "${builtins.fetchGit {
|
||||
url = "https://github.com/ARandomPig/nix-config";
|
||||
rev = "6982747ec65962a13dd07948b2317d8d571f39b8";
|
||||
ref = "master";
|
||||
}}";
|
||||
|
||||
system.activationScripts.populateUser.text = ''
|
||||
mkdir -p /home/nixos
|
||||
cp -r /etc/skel/nix-config
|
||||
chown -R nixos:nixos /home/nixos/nix-config
|
||||
'';
|
||||
}
|
@ -11,6 +11,7 @@
|
||||
gnumake
|
||||
git
|
||||
neofetch
|
||||
neovim
|
||||
ntfs3g
|
||||
clang
|
||||
ninja
|
||||
@ -23,5 +24,6 @@
|
||||
stress
|
||||
ffmpeg
|
||||
cryptsetup
|
||||
acpi
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user