Added udiskie (much needed for portable ssd
This commit is contained in:
parent
c566589cc2
commit
0c1faeea91
5 changed files with 16 additions and 1 deletions
|
|
@ -4,6 +4,7 @@
|
||||||
./shell
|
./shell
|
||||||
./style
|
./style
|
||||||
./programs
|
./programs
|
||||||
|
./services
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
|
||||||
3
home/services/default.nix
Normal file
3
home/services/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
imports = [./udiskie.nix];
|
||||||
|
}
|
||||||
6
home/services/udiskie.nix
Normal file
6
home/services/udiskie.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{osConfig, ...}: {
|
||||||
|
services.udiskie = {
|
||||||
|
enable = osConfig.niksos.desktop;
|
||||||
|
tray = "never"; #NOTE: Don't have a bar (yet?)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -9,6 +9,11 @@
|
||||||
[
|
[
|
||||||
pkgs.gh
|
pkgs.gh
|
||||||
pkgs.ripgrep
|
pkgs.ripgrep
|
||||||
|
pkgs.p7zip
|
||||||
|
pkgs.rsync
|
||||||
|
pkgs.usbutils
|
||||||
|
pkgs.pciutils
|
||||||
|
pkgs.inetutils
|
||||||
]
|
]
|
||||||
++ lib.optionals osConfig.niksos.desktop [
|
++ lib.optionals osConfig.niksos.desktop [
|
||||||
inputs.somcli.defaultPackage.${pkgs.system}
|
inputs.somcli.defaultPackage.${pkgs.system}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{lib, ...}: {
|
{lib, ...}: {
|
||||||
services.fwupd.enable = lib.mkDefault true;
|
services.fwupd.enable = lib.mkDefault true; #NOTE: this enables udisks2
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue