Simplify iso
This commit is contained in:
parent
c13f4b9c11
commit
141b023739
|
@ -3,7 +3,6 @@
|
|||
# {{{ Imports
|
||||
imports = [
|
||||
./global.nix
|
||||
./features/cli/lazygit.nix
|
||||
./features/desktop/foot.nix
|
||||
./features/wayland/hyprland
|
||||
];
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
{
|
||||
programs.htop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
tree_view = true;
|
||||
};
|
||||
settings.tree_view = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
{ config, lib, pkgs, inputs, ... }: {
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix = {
|
||||
# Flake support and whatnot
|
||||
package = pkgs.lix;
|
||||
|
@ -43,8 +50,10 @@
|
|||
# Deduplicate and optimize nix store
|
||||
auto-optimise-store = true;
|
||||
|
||||
# TODO: what is a trusted user?
|
||||
trusted-users = [ "root" "@wheel" ];
|
||||
trusted-users = [
|
||||
"root"
|
||||
"@wheel"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,13 +2,23 @@
|
|||
#
|
||||
# Can be built with
|
||||
# nix build .#nixosConfigurations.iso.config.system.build.isoImage
|
||||
{ modulesPath, lib, ... }:
|
||||
{
|
||||
modulesPath,
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
# {{{ Imports
|
||||
imports = [
|
||||
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
|
||||
|
||||
../common/global
|
||||
inputs.stylix.nixosModules.stylix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
|
||||
../../../common
|
||||
../common/global/wireless
|
||||
../common/global/services/openssh.nix
|
||||
../common/users/pilot.nix
|
||||
../common/optional/desktop
|
||||
../common/optional/wayland/hyprland.nix
|
||||
|
@ -25,16 +35,25 @@
|
|||
];
|
||||
};
|
||||
# }}}
|
||||
# {{{ Nix config
|
||||
nix = {
|
||||
# Flake support and whatnot
|
||||
package = pkgs.lix;
|
||||
|
||||
# Enable flakes and new 'nix' command
|
||||
settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
# }}}
|
||||
|
||||
# Tell sops-nix to use the hermes keys for decrypting secrets
|
||||
sops.age.sshKeyPaths = [ "/hermes/secrets/hermes/ssh_host_ed25519_key" ];
|
||||
|
||||
# Override tailscale service enabled by the `global/default.nix` file
|
||||
services.tailscale.enable = lib.mkForce false;
|
||||
# Set username
|
||||
satellite.pilot.name = "moon";
|
||||
|
||||
# Fast but bad compression
|
||||
# isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
||||
|
||||
# Set username
|
||||
satellite.pilot.name = "moon";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue