feat: rearrange configs
This commit is contained in:
parent
c60e8df3e3
commit
21ce06c82d
7 changed files with 54 additions and 40 deletions
15
configs/client.nix
Normal file
15
configs/client.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
nil
|
||||
ffmpeg
|
||||
yt-dlp
|
||||
hyfetch
|
||||
];
|
||||
|
||||
hm.programs.keychain = {
|
||||
enable = true;
|
||||
agents = ["ssh"];
|
||||
inheritType = "any";
|
||||
keys = ["id_ed25519"];
|
||||
};
|
||||
}
|
|
@ -43,10 +43,6 @@ in {
|
|||
git
|
||||
curl
|
||||
wget
|
||||
nil
|
||||
ffmpeg
|
||||
yt-dlp
|
||||
hyfetch
|
||||
htop
|
||||
];
|
||||
|
||||
|
@ -55,16 +51,7 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
hm = {
|
||||
home = {inherit stateVersion;};
|
||||
|
||||
programs.keychain = {
|
||||
enable = true;
|
||||
agents = ["ssh"];
|
||||
inheritType = "any";
|
||||
keys = ["id_ed25519"];
|
||||
};
|
||||
};
|
||||
hm.home = {inherit stateVersion;};
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
config,
|
||||
catppuccin,
|
||||
|
@ -10,20 +9,8 @@
|
|||
boot = {
|
||||
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||
kernelModules = ["v4l2loopback"];
|
||||
|
||||
loader = {
|
||||
systemd-boot.enable = lib.mkForce false;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [sbctl];
|
||||
|
||||
fonts = {
|
||||
packages = with pkgs; [
|
||||
iosevka
|
||||
|
@ -76,8 +63,6 @@
|
|||
(vesktop.override {withSystemVencord = false;})
|
||||
wine-discord-ipc-bridge
|
||||
];
|
||||
|
||||
stateVersion = "23.11";
|
||||
};
|
||||
|
||||
services = {
|
||||
|
|
19
configs/physical-computer.nix
Normal file
19
configs/physical-computer.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
boot = {
|
||||
loader = {
|
||||
systemd-boot.enable = lib.mkForce false;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
lanzaboote = {
|
||||
enable = true;
|
||||
pkiBundle = "/etc/secureboot";
|
||||
};
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [sbctl];
|
||||
}
|
3
configs/server.nix
Normal file
3
configs/server.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
services.tailscale.extraUpFlags = ["--advertise-exit-node"];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue