Move zsh config to better location, disable polkit, add back playerctl and mpris in mpc's place
This commit is contained in:
parent
aded6c206e
commit
9e3678d190
23 changed files with 85 additions and 87 deletions
|
@ -1,11 +1,8 @@
|
|||
{ config, lib, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
boot.loader = {
|
||||
grub = {
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
device = "nodev";
|
||||
};
|
||||
efi.canTouchEfiVariables = false;
|
||||
boot.loader.grub = {
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
device = "nodev";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, lanzaboote, ... }:
|
||||
{ pkgs, lanzaboote, ... }:
|
||||
{
|
||||
imports = [ lanzaboote.nixosModules.lanzaboote ];
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
boot.loader.systemd-boot = {
|
||||
editor = false;
|
||||
|
|
|
@ -16,10 +16,11 @@
|
|||
|
||||
".config/blender"
|
||||
".config/dconf"
|
||||
".config/vesktop"
|
||||
".config/sunshine"
|
||||
".config/heroic"
|
||||
".config/obs-studio"
|
||||
".config/sunshine"
|
||||
".config/vesktop"
|
||||
".config/zsh"
|
||||
|
||||
".local/share/mpd"
|
||||
".local/share/nvim/undo"
|
||||
|
@ -28,6 +29,7 @@
|
|||
".local/share/TelegramDesktop"
|
||||
|
||||
".local/state/wireplumber"
|
||||
".local/state/lazygit"
|
||||
|
||||
".cache/nix-index"
|
||||
|
||||
|
@ -35,11 +37,6 @@
|
|||
{ directory = ".gnupg"; mode = "0700"; }
|
||||
{ directory = ".local/share/keyrings"; mode = "0700"; }
|
||||
];
|
||||
files = [
|
||||
".zsh_history"
|
||||
".local/state/lazygit/state.yml"
|
||||
".local/share/applications" # Create directory so nothing generates inside of it
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,12 +1,5 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
config = lib.mkIf config.system.server.enable {
|
||||
services.mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
};
|
||||
environment.persistence."/persist".directories = [
|
||||
"/var/lib/mysql"
|
||||
];
|
||||
};
|
||||
services.mysql.package = pkgs.mariadb;
|
||||
environment.persistence."/persist".directories = lib.mkIf config.services.mysql.enable [ "/var/lib/mysql" ];
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
./apparmor
|
||||
./polkit
|
||||
./privilege
|
||||
./rtkit
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
security = lib.mkIf config.system.desktop.enable {
|
||||
polkit.enable = true;
|
||||
rtkit.enable = true;
|
||||
};
|
||||
}
|
4
modules/system/settings/security/rtkit/default.nix
Normal file
4
modules/system/settings/security/rtkit/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
security.rtkit.enable = config.system.desktop.enable;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue