Compare commits

...

6 Commits

Author SHA1 Message Date
mir
a550ffcd13 update flake.lock 2024-03-18 23:58:36 -08:00
mir
519eef7154 add kremzeek, an installer iso config... why? 2024-03-18 23:55:12 -08:00
mir
efadb29fcc add nfs mount support 2024-03-18 23:54:45 -08:00
mir
c95102b888 move pixiecore into new services file 2024-03-18 23:54:21 -08:00
mir
b107dbd69a add services.nix in prep for migrating server. use on breakdown as test 2024-03-18 23:53:37 -08:00
mir
91c8ea8c62 ignore iso 2024-03-18 23:51:53 -08:00
5 changed files with 62 additions and 13 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
**/*.bak
*.swp
result

View File

@ -75,13 +75,6 @@
gnome-maps
gnome-contacts
];
# netboot server; disabled and broken
services.pixiecore = {
enable = false;
openFirewall = true;
dhcpNoBind = true;
kernel = "https://boot.netboot.xyz";
};
# Enable CUPS to print documents.
services.printing.enable = true;
@ -154,6 +147,7 @@
wget
vim
emacs29-pgtk
nfs-utils
];
services.flatpak.enable = true;

View File

@ -94,11 +94,11 @@
]
},
"locked": {
"lastModified": 1710336510,
"narHash": "sha256-mT/Z1AseVhhiFooCu2J7wudx+FivkRrlRBW0iBC2V/o=",
"lastModified": 1710820906,
"narHash": "sha256-2bNMraoRB4pdw/HtxgYTFeMhEekBZeQ53/a8xkqpbZc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "383296ffa45b539c28bf79ec2a272f652838ddd1",
"rev": "022464438a85450abb23d93b91aa82e0addd71fb",
"type": "github"
},
"original": {
@ -125,11 +125,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1710272261,
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
"lastModified": 1710631334,
"narHash": "sha256-rL5LSYd85kplL5othxK5lmAtjyMOBg390sGBTb3LRMM=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
"rev": "c75037bbf9093a2acb617804ee46320d6d1fea5a",
"type": "github"
},
"original": {

View File

@ -31,6 +31,29 @@
home-manager,
... }: {
nixosConfigurations = {
kremzeek =
let
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" {
networking.wireless.enable = false;
}
./configuration.nix {
networking.hostName = "kremzeek";
boot.loader.efi.canTouchEfiVariables = true;
sound.enable = true;
}
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.mir = import ./home.nix;
home-manager.extraSpecialArgs = specialArgs;
}
]; # end of modules
in
nixpkgs.lib.nixosSystem {inherit system modules specialArgs; };
galvatron =
let
system = "aarch64-linux";
@ -71,6 +94,7 @@
boot.loader.efi.canTouchEfiVariables = true;
sound.enable = true;
}
./server/services.nix
./hardware/breakdown-hw.nix
home-manager.nixosModules.home-manager
{

30
server/services.nix Normal file
View File

@ -0,0 +1,30 @@
# services to run on Unicron
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
{
# netboot server; disabled and broken
services.pixiecore = {
enable = false;
openFirewall = true;
dhcpNoBind = true;
kernel = "https://boot.netboot.xyz";
};
services.searx = {
enable = true;
settings = {
server = {
port = 8888;
bind_address = "0.0.0.0";
secret_key = "secret key";
};
};
};
services.jellyfin = {
enable = true;
};
virtualisation.docker = {
enable = true;
# storageDriver = "btrfs"; # breaks when not btrfs...
};
}