summaryrefslogtreecommitdiff
path: root/profiles/core
diff options
context:
space:
mode:
authorMike Vink <ivi@vinkies.net>2024-10-12 17:15:08 +0000
committerMike Vink <ivi@vinkies.net>2024-10-12 17:15:08 +0000
commitf26c55d5bea46e0b4c0bed3ef3a1258b1b9e82dc (patch)
tree4a0f2284ae05771568efe2dbc323233c10f444bd /profiles/core
parent7134976e1bd1ab8f6f0a85e9efe23b85f0d54250 (diff)
update
Diffstat (limited to 'profiles/core')
-rw-r--r--profiles/core/configuration.nix2
-rw-r--r--profiles/core/lf.nix1
-rw-r--r--profiles/core/meta.nix4
-rw-r--r--profiles/core/packages.nix6
4 files changed, 6 insertions, 7 deletions
diff --git a/profiles/core/configuration.nix b/profiles/core/configuration.nix
index 1062850..3d000f1 100644
--- a/profiles/core/configuration.nix
+++ b/profiles/core/configuration.nix
@@ -32,7 +32,7 @@
uid = mkIf (!machine.isDarwin) 1000;
description = my.realName;
openssh.authorizedKeys.keys = my.sshKeys;
- extraGroups = ["wheel" "networkmanager" "docker" "transmission" "dialout" "test"];
+ extraGroups = ["wheel" "networkmanager" "docker" "transmission" "dialout" "test" "libvirtd"];
isNormalUser = true;
};
root = {
diff --git a/profiles/core/lf.nix b/profiles/core/lf.nix
index c21a0d7..ab7d686 100644
--- a/profiles/core/lf.nix
+++ b/profiles/core/lf.nix
@@ -1,4 +1,5 @@
{pkgs,...}: {
+ hm.home.packages = [pkgs.ueberzugpp pkgs.lf pkgs.nsxiv];
hm.xdg.configFile = {
# "lf/cleaner".source = config.lib.meta.mkMutableSymlink /mut/lf/cleaner;
# "lf/scope".source = config.lib.meta.mkMutableSymlink /mut/lf/scope;
diff --git a/profiles/core/meta.nix b/profiles/core/meta.nix
index 439b678..0cf0c1c 100644
--- a/profiles/core/meta.nix
+++ b/profiles/core/meta.nix
@@ -1,6 +1,6 @@
-{machine, inputs,lib,config, ...}: with lib; {
+{inputs,lib,config, ...}: with lib; {
lib.meta = {
- configPath = if hasAttrByPath ["configPath"] machine then machine.configPath else "/nix-config";
+ configPath = "/nix-config";
mkMutableSymlink = path:
config.hm.lib.file.mkOutOfStoreSymlink
(config.lib.meta.configPath + removePrefix (toString inputs.self) (toString path));
diff --git a/profiles/core/packages.nix b/profiles/core/packages.nix
index 4350680..7793c95 100644
--- a/profiles/core/packages.nix
+++ b/profiles/core/packages.nix
@@ -32,16 +32,14 @@ with lib;
# gcc
gnumake
file
- # psmisc
+ psmisc
bc
- # mediainfo
+ mediainfo
bat
openpomodoro-cli
coreutils
killall
] ++ (optionals (!machine.isDarwin) [
- nsxiv
- ueberzugpp
man-pages
man-pages-posix
# pkgsi686Linux.glibc