forked from kalipso/infrastructure
Compare commits
3 Commits
update-fla
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 98a79d708a | |||
| 822cd46310 | |||
| 435dfa170b |
@@ -74,16 +74,4 @@ in
|
|||||||
./lucia/hardware_configuration.nix
|
./lucia/hardware_configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
sdImageLucia = nixosSystem {
|
|
||||||
system = "aarch64-linux";
|
|
||||||
specialArgs.inputs = inputs;
|
|
||||||
modules = defaultModules ++ [
|
|
||||||
"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix"
|
|
||||||
./lucia/configuration.nix
|
|
||||||
{
|
|
||||||
sdImage.compressImage = false;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ in
|
|||||||
mpv
|
mpv
|
||||||
ncmpcpp
|
ncmpcpp
|
||||||
ncpamixer
|
ncpamixer
|
||||||
pulseaudio
|
# pulseaudio
|
||||||
vim
|
vim
|
||||||
htop
|
htop
|
||||||
wget
|
wget
|
||||||
@@ -182,19 +182,19 @@ in
|
|||||||
nix-tree
|
nix-tree
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.pulseaudio = {
|
#hardware.pulseaudio = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
systemWide = true;
|
# systemWide = true;
|
||||||
tcp = {
|
# tcp = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
anonymousClients.allowedIpRanges = [
|
# anonymousClients.allowedIpRanges = [
|
||||||
"127.0.0.0/8"
|
# "127.0.0.0/8"
|
||||||
"192.168.1.0/24"
|
# "192.168.1.0/24"
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
zeroconf.publish.enable = true;
|
# zeroconf.publish.enable = true;
|
||||||
};
|
#};
|
||||||
|
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@@ -100,11 +100,12 @@ in
|
|||||||
nix = {
|
nix = {
|
||||||
# Show a diff when activating a new system except for microvms which handle this seperately
|
# Show a diff when activating a new system except for microvms which handle this seperately
|
||||||
#diffSystem = config.malobeo.deployment.server or "" == "";
|
#diffSystem = config.malobeo.deployment.server or "" == "";
|
||||||
gc = lib.mkIf config.malobeo.autoUpdate.enable {
|
#TODO: THIS WIPES HOSTS NIX STORE FROM WITHIN NIXOS-CONTAINER
|
||||||
automatic = true;
|
#gc = lib.mkIf config.malobeo.autoUpdate.enable {
|
||||||
randomizedDelaySec = "6h";
|
# automatic = true;
|
||||||
options = "--delete-older-than 21d";
|
# randomizedDelaySec = "6h";
|
||||||
};
|
# options = "--delete-older-than 21d";
|
||||||
|
#};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [ (
|
environment.systemPackages = [ (
|
||||||
|
|||||||
22
outputs.nix
22
outputs.nix
@@ -36,26 +36,4 @@ in (utils.lib.eachSystem (builtins.filter filter_system utils.lib.defaultSystems
|
|||||||
nixpkgs.lib.mapAttrs getBuildEntry self.nixosConfigurations
|
nixpkgs.lib.mapAttrs getBuildEntry self.nixosConfigurations
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
#lucia = self.nixosConfigurations.lucia.config.system.build.toplevel;
|
|
||||||
|
|
||||||
|
|
||||||
#images.lucia_base_image = nixosConfigurations.lucia.config.system.build.sdImage;
|
|
||||||
|
|
||||||
#packages.x86_64-linux = {
|
|
||||||
# lucia_base_img = nixos-generators.nixosGenerate {
|
|
||||||
# system = "aarch64-linux";
|
|
||||||
# modules = [
|
|
||||||
# #"${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix"
|
|
||||||
# ./machines/modules/sshd.nix
|
|
||||||
# {
|
|
||||||
# nixpkgs.config.allowUnsupportedSystem = true;
|
|
||||||
# nixpkgs.crossSystem.system = "aarch64-linux";
|
|
||||||
# networking.dhcpcd.enable = true;
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
|
|
||||||
# format = "sd-aarch64-installer";
|
|
||||||
# };
|
|
||||||
#};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user