feat: NixOS | modular nixos config

This commit is contained in:
2025-02-10 23:57:50 +05:00
parent 25b942ef7a
commit 257be3540d
23 changed files with 269 additions and 289 deletions

View File

@@ -1,6 +1,4 @@
{ font, ... }:
{
{font, ...}: {
programs.alacritty = {
enable = true;

View File

@@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
programs.direnv = {
enable = true;
enableZshIntegration = true;

View File

@@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
programs.firefox = {
enable = true;
package = pkgs.firefox.override {

View File

@@ -4,9 +4,7 @@
userName,
userEmail,
...
}:
{
}: {
programs.git = {
package = pkgs.gitAndTools.gitFull;
enable = true;

View File

@@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
programs.neovim = {
enable = true;
defaultEditor = true;

View File

@@ -1,9 +1,6 @@
{ ... }:
let
{...}: let
onePassPath = "~/.1password/agent.sock";
in
{
in {
programs.ssh = {
enable = true;
extraConfig = "IdentityAgent ${onePassPath}";

View File

@@ -1,5 +1,3 @@
{ ... }:
{
{...}: {
programs.starship.enable = true;
}

View File

@@ -1,6 +1,4 @@
{ config, ... }:
{
{config, ...}: {
programs.zsh = {
enable = true;
enableCompletion = true;