1
0
Fork 0

Compare commits

..

2 commits

Author SHA1 Message Date
d24b786ffc
Move Linux specific programs to if expressions 2025-08-27 18:15:09 -05:00
a1aeb26c6c
Add gnome keyring 2025-08-27 18:02:55 -05:00
5 changed files with 16 additions and 19 deletions

View file

@ -13,7 +13,7 @@
{ {
imports = [ imports = [
{ nixpkgs.overlays = [ inputs.nur.overlays.default ]; } { nixpkgs.overlays = [ inputs.nur.overlays.default ]; }
../base-linux.nix ../base.nix
../calendar.nix ../calendar.nix
../discord.nix ../discord.nix
]; ];

View file

@ -1,17 +0,0 @@
# SPDX-FileCopyrightText: 2025 Ethan Reece <contact@ethanreece.com>
#
# SPDX-License-Identifier: MIT
{ pkgs, ... }:
{
imports = [ ./base.nix ];
home.packages = [
pkgs.acpi
pkgs.iproute2
pkgs.iputils
pkgs.julia
pkgs.lm_sensors
pkgs.psmisc
pkgs.strace
];
}

View file

@ -7,6 +7,7 @@
{ {
config, config,
inputs, inputs,
lib,
pkgs, pkgs,
... ...
}: }:
@ -68,6 +69,16 @@
pkgs.uutils-findutils pkgs.uutils-findutils
pkgs.wget pkgs.wget
pkgs.xz pkgs.xz
]
++ lib.optionals pkgs.stdenv.isLinux [
pkgs.acpi
pkgs.gcr
pkgs.iproute2
pkgs.iputils
pkgs.julia
pkgs.lm_sensors
pkgs.psmisc
pkgs.strace
]; ];
file = { }; file = { };
shellAliases = { shellAliases = {

View file

@ -10,7 +10,7 @@
... ...
}: }:
{ {
imports = [ ../base-linux.nix ]; imports = [ ../base.nix ];
sops.age.keyFile = "${homeDirectory}/.config/sops/age/keys.txt"; sops.age.keyFile = "${homeDirectory}/.config/sops/age/keys.txt";
home = { home = {
inherit username homeDirectory; inherit username homeDirectory;

View file

@ -6,6 +6,8 @@
config, config,
domains, domains,
inputs, inputs,
lib,
pkgs,
... ...
}: }:
{ {
@ -23,4 +25,5 @@
}; };
}; };
}; };
services = lib.mkIf pkgs.stdenv.isLinux { gnome-keyring.enable = true; };
} }