mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 16:39:07 +01:00
profiles: Introduce core, server and workstation profiles
This commit is contained in:
parent
1c0f293c3d
commit
100f02a2d8
15 changed files with 94 additions and 163 deletions
|
|
@ -1,33 +1,14 @@
|
|||
{ inputs, pkgs, ... }:
|
||||
{ self, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./disko.nix
|
||||
inputs.disko.nixosModules.default
|
||||
];
|
||||
imports = [ self.nixosModules.profile-workstation ];
|
||||
|
||||
system.stateVersion = "24.11";
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
custom = {
|
||||
sops.enable = true;
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
silent = true;
|
||||
};
|
||||
|
||||
dm.tuigreet = {
|
||||
enable = true;
|
||||
autoLogin = true;
|
||||
};
|
||||
de.hyprland.enable = true;
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
|
||||
networking = {
|
||||
overlay = {
|
||||
address = "10.254.250.3";
|
||||
role = "client";
|
||||
};
|
||||
overlay.address = "10.254.250.3";
|
||||
underlay = {
|
||||
interface = "wlan0";
|
||||
useDhcp = true;
|
||||
|
|
@ -36,14 +17,8 @@
|
|||
};
|
||||
|
||||
services = {
|
||||
auto-gc.enable = true;
|
||||
bluetooth.enable = true;
|
||||
sound.enable = true;
|
||||
sshd.enable = true;
|
||||
syncthing = {
|
||||
enable = true;
|
||||
deviceId = "Q4YPD3V-GXZPHSN-PT5X4PU-FBG4GX2-IASBX75-7NYMG75-4EJHBMZ-4WGDDAP";
|
||||
};
|
||||
syncthing.deviceId = "Q4YPD3V-GXZPHSN-PT5X4PU-FBG4GX2-IASBX75-7NYMG75-4EJHBMZ-4WGDDAP";
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
@ -51,6 +26,4 @@
|
|||
wireshark.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
programs.localsend.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue