mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: make it so only hosts with gui enabled have dbus/gnome-keyring/gvfs :)
This commit is contained in:
parent
09e6a3a302
commit
3b00c85ad1
7 changed files with 58 additions and 22 deletions
|
|
@ -1,4 +1,10 @@
|
|||
{ lib, inputs, pkgs, config, ... }:
|
||||
{
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
|
@ -7,7 +13,7 @@
|
|||
|
||||
# Enable fancy boot animations
|
||||
boot.plymouth.enable = true;
|
||||
|
||||
|
||||
powerManagement = {
|
||||
enable = true;
|
||||
# powertop.enable = true;
|
||||
|
|
@ -15,10 +21,16 @@
|
|||
};
|
||||
|
||||
liv.laptop.enable = true;
|
||||
liv.gui.enable = true;
|
||||
|
||||
# Bootloader stuff
|
||||
boot = {
|
||||
kernelParams = [ "quiet" "loglevel=3" "systemd.show_status=false" "splash" ];
|
||||
kernelParams = [
|
||||
"quiet"
|
||||
"loglevel=3"
|
||||
"systemd.show_status=false"
|
||||
"splash"
|
||||
];
|
||||
loader.grub = {
|
||||
enable = lib.mkForce true;
|
||||
device = lib.mkForce "/dev/sda";
|
||||
|
|
@ -28,13 +40,15 @@
|
|||
initrd.secrets = {
|
||||
"/crypto_keyfile.bin" = null;
|
||||
};
|
||||
initrd.luks.devices."luks-729500c5-557b-45c8-ab3f-5c365db28284".keyFile = lib.mkForce "/crypto_keyfile.bin";
|
||||
extraModulePackages = with config.boot.kernelPackages;
|
||||
initrd.luks.devices."luks-729500c5-557b-45c8-ab3f-5c365db28284".keyFile =
|
||||
lib.mkForce "/crypto_keyfile.bin";
|
||||
extraModulePackages =
|
||||
with config.boot.kernelPackages;
|
||||
[
|
||||
acpi_call
|
||||
cpupower
|
||||
]
|
||||
++ [pkgs.cpupower-gui];
|
||||
++ [ pkgs.cpupower-gui ];
|
||||
};
|
||||
|
||||
networking.hostName = "ichiyo";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue