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 ];
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 = {

View File

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

View File

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