Merge branch 'master' of github.com:pagedMov/nixos-config

This commit is contained in:
pagedmov
2024-11-02 12:16:14 -04:00
3 changed files with 13 additions and 12 deletions

View File

@@ -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 = {

View File

@@ -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"];

View File

@@ -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;
}; };
}; };
}; };