58 lines
1.5 KiB
Nix
58 lines
1.5 KiB
Nix
{ self, inputs, ... }: {
|
|
|
|
flake.nixosModules.iso = { lib, pkgs, modulesPath, ... }: {
|
|
|
|
imports = with self.nixosModules; [
|
|
|
|
(modulesPath + "/installer/cd-dvd/installation-cd-minimal.nix")
|
|
|
|
inputs.home-manager.nixosModules.default
|
|
|
|
self.nixosModules.default
|
|
aurora-greeter
|
|
hyprland
|
|
pipewire
|
|
avahi
|
|
netbird
|
|
openssh
|
|
|
|
];
|
|
|
|
config = {
|
|
|
|
fonts.fontconfig.enable = lib.mkForce true;
|
|
|
|
fonts.packages = with pkgs; [ nerd-fonts.fira-code ];
|
|
environment.systemPackages = with pkgs; [ nerd-fonts.fira-code ];
|
|
|
|
system.stateVersion = "25.11";
|
|
|
|
#nixpkgs.hostPlatform = "x86_64-linux";
|
|
nixpkgs.hostPlatform = pkgs.stdenv.hostPlatform.system;
|
|
|
|
users.users."nathan" = {
|
|
hashedPassword = "$y$j9T$F0pn6l4C45lz4a0FTZLqE0$Fc48Ptbmz/3MJCk/Jsaqop4ff.bY3J3GcjhmJx5R7k6";
|
|
packages = with pkgs; [
|
|
git
|
|
nerd-fonts.fira-code
|
|
];
|
|
};
|
|
|
|
users.users.nixos.enable = lib.mkForce false;
|
|
|
|
networking = {
|
|
|
|
hostName = "iso";
|
|
|
|
nameservers = [ "1.1.1.1" "1.0.0.1" ];
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
programs.zsh.enable = true;
|
|
|
|
environment.shells = with pkgs; [ zsh bashInteractive ];
|
|
|
|
};
|
|
};
|
|
}
|