@@ -17,7 +17,7 @@ cache: &global_cache
|
||||
build:
|
||||
image: nixos/nix
|
||||
stage: build
|
||||
timeout: 12h
|
||||
timeout: 48h
|
||||
cache:
|
||||
<<: *global_cache
|
||||
script:
|
||||
|
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 = {
|
||||
|
@@ -11,6 +11,7 @@
|
||||
../common/system/configs/git
|
||||
../common/system/configs/gpg-agent
|
||||
../common/system/configs/impermanence
|
||||
../common/system/configs/ncdu
|
||||
../common/system/configs/neovim
|
||||
../common/system/configs/networking
|
||||
../common/system/configs/nix
|
||||
|
@@ -18,6 +18,7 @@ in
|
||||
(import ../common/user/configs/console/gpg-agent { inherit username; })
|
||||
(import ../common/user/configs/console/home-manager { inherit username; })
|
||||
(import ../common/user/configs/console/imagemagick { inherit username; })
|
||||
(import ../common/user/configs/console/ncdu { inherit username; })
|
||||
(import ../common/user/configs/console/neovim { inherit username; })
|
||||
(import ../common/user/configs/console/nixpkgs { inherit username; })
|
||||
(import ../common/user/configs/console/pipewire { inherit username; })
|
||||
|
Reference in New Issue
Block a user