some more server-related tune-ups
This commit is contained in:
@@ -24,12 +24,14 @@ in {
|
||||
imports = [ movModules ];
|
||||
autojumpConfig.enable = true;
|
||||
btopConfig.enable = true;
|
||||
starshipConfig.enable = true;
|
||||
ezaConfig.enable = true;
|
||||
fzfConfig.enable = true;
|
||||
gitConfig.enable = true;
|
||||
yaziConfig.enable = true;
|
||||
zshConfig.enable = true;
|
||||
batConfig.enable = true;
|
||||
userPkgs.enable = true;
|
||||
|
||||
movScripts = {
|
||||
enable = true;
|
||||
@@ -38,6 +40,9 @@ in {
|
||||
enable = true;
|
||||
toolbelt.enable = false;
|
||||
};
|
||||
hyprlandControls = {
|
||||
scheck.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
home = {
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
{host, lib, config, ...}: let
|
||||
desktop = host == "oganesson";
|
||||
in {
|
||||
{host, lib, config, ...}:
|
||||
{
|
||||
options = {
|
||||
networkModule.enable = lib.mkEnableOption "enables network configuration";
|
||||
};
|
||||
config = lib.mkIf config.networkModule.enable {
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
hostName =
|
||||
if desktop
|
||||
then "oganesson"
|
||||
else "mercury";
|
||||
hostName = "${host}";
|
||||
hosts = {
|
||||
"192.168.1.201" = ["xenon"];
|
||||
"192.168.1.111" = ["argon"];
|
||||
|
||||
@@ -4,18 +4,18 @@
|
||||
};
|
||||
config = lib.mkIf config.sysProgs.enable {
|
||||
programs = {
|
||||
hyprland.enable = true;
|
||||
zsh.enable = true;
|
||||
hyprland.enable = lib.mkDefault true;
|
||||
zsh.enable = lib.mkDefault true;
|
||||
nix-ld = {
|
||||
enable = true;
|
||||
enable = lib.mkDefault true;
|
||||
libraries = with pkgs; [
|
||||
stdenv.cc.cc
|
||||
ffmpeg-full
|
||||
];
|
||||
};
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
enable = lib.mkDefault true;
|
||||
enableSSHSupport = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user