Compare commits
6 Commits
dedd3b7daf
...
a550ffcd13
Author | SHA1 | Date | |
---|---|---|---|
a550ffcd13 | |||
519eef7154 | |||
efadb29fcc | |||
c95102b888 | |||
b107dbd69a | |||
91c8ea8c62 |
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
**/*.bak
|
||||
*.swp
|
||||
result
|
||||
|
@ -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;
|
||||
|
12
flake.lock
12
flake.lock
@ -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": {
|
||||
|
24
flake.nix
24
flake.nix
@ -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
30
server/services.nix
Normal 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...
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user