13
hosts/common/system/configs/ncdu/default.nix
Normal file
13
hosts/common/system/configs/ncdu/default.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs; [ ncdu ];
|
||||
|
||||
etc."ncdu.conf".text = ''
|
||||
-1
|
||||
-e
|
||||
-t 0
|
||||
--confirm-quit
|
||||
'';
|
||||
};
|
||||
}
|
16
hosts/common/user/configs/console/ncdu/default.nix
Normal file
16
hosts/common/user/configs/console/ncdu/default.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
username ? throw "username argument is required",
|
||||
}:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home-manager.users.${username} = {
|
||||
home.packages = with pkgs; [ ncdu ];
|
||||
|
||||
xdg.configFile."ncdu/config".text = ''
|
||||
-1
|
||||
-e
|
||||
-t 0
|
||||
--confirm-quit
|
||||
'';
|
||||
};
|
||||
}
|
@@ -17,12 +17,7 @@ in
|
||||
imports = [ inputs.ags.homeManagerModules.default ];
|
||||
|
||||
programs.ags.enable = true;
|
||||
|
||||
xdg.configFile.ags = {
|
||||
source = "${agsConfig}/share/config.js";
|
||||
target = "ags/config.js";
|
||||
};
|
||||
|
||||
xdg.configFile."ags/config.js".source = "${agsConfig}/share/config.js";
|
||||
theme.templates."${hmConfig.xdg.configHome}/ags/theme.sass".source = ./theme.sass;
|
||||
|
||||
systemd.user = {
|
||||
|
Reference in New Issue
Block a user