mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
Compare commits
3 commits
a371faa29c
...
c2a9740c77
| Author | SHA1 | Date | |
|---|---|---|---|
| c2a9740c77 | |||
| e17ee3f1fe | |||
| 966ed75d85 |
4 changed files with 62 additions and 1 deletions
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
<p align="center">
|
||||
<img src="./.github/assets/screenshots/sakura-desktop.png" /> <br>
|
||||
Screenshots last updated <b>2024-09-04</b>
|
||||
Screenshot last updated <b>2025-05-11</b>
|
||||
</p>
|
||||
|
||||
# Overview
|
||||
|
|
|
|||
41
hosts/lily/default.nix
Normal file
41
hosts/lily/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ pkgs, config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./variables.nix
|
||||
./../../modules/core/default.server.nix
|
||||
];
|
||||
|
||||
networking.hostName = "lily";
|
||||
|
||||
liv.server.enable = true;
|
||||
|
||||
time.timeZone = "Europe/Amsterdam";
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
kitty.terminfo
|
||||
zfs
|
||||
];
|
||||
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
supportedFilesystems = [ "zfs" ];
|
||||
};
|
||||
|
||||
networking.hostId = "8wfk1d8a";
|
||||
|
||||
services.zfs = {
|
||||
autoScrub.enable = true;
|
||||
trim.enable = true;
|
||||
};
|
||||
|
||||
# boot.zfs.extraPools = [ "terrabite" ];
|
||||
|
||||
# fileSystems."/terrabite/main" = {
|
||||
# device = "terrabite/main";
|
||||
# fsType = "zfs";
|
||||
# };
|
||||
}
|
||||
19
hosts/lily/variables.nix
Normal file
19
hosts/lily/variables.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption types;
|
||||
inherit (config.liv) variables;
|
||||
in
|
||||
{
|
||||
options.liv.variables.lily = {
|
||||
thisMachine = mkOption {
|
||||
default = "lily.srv.${variables.primaryDomain}";
|
||||
type = types.str;
|
||||
readOnly = true;
|
||||
description = "Domain of this specific machine";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -81,6 +81,7 @@
|
|||
|
||||
# Email/calendar/etc
|
||||
neomutt
|
||||
w3m
|
||||
khard
|
||||
khal
|
||||
vdirsyncer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue