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