Compare commits

...

4 commits

3 changed files with 19 additions and 12 deletions

View file

@ -8,7 +8,7 @@ in {
config = lib.mkIf cfg.enable {
xdg.mimeApps =
let
browser = "brave-browser.desktop";
browser = "firefox.desktop";
mimeAppsFor =
value: list:
@ -28,10 +28,13 @@ in {
"application/xhtml+xml"
"text/html"
"x-scheme-handler/about"
"x-scheme-handler/chrome"
"x-scheme-handler/http"
"x-scheme-handler/https"
])
(mimeAppsFor "brave-browser.desktop" [
"x-scheme-handler/chrome"
])
];
};

View file

@ -48,7 +48,7 @@ in
fsType = "ext4";
};
fileSystems."/boot" = {
fileSystems."/efi" = {
device = "/dev/disk/by-uuid/1A0A-CEB2";
fsType = "vfat";
};
@ -129,14 +129,19 @@ in
swapDevices = [ ];
# Bootloader.
boot.loader.grub = {
boot.loader = {
grub = {
enable = true;
efiSupport = true;
useOSProber = true;
device = "nodev";
theme = pkgs.rose-pine-grub;
};
boot.loader.efi.canTouchEfiVariables = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/efi";
};
};
# Enable networking
networking.networkmanager.enable = true;

View file

@ -46,8 +46,7 @@ in
systemd.user.services.xrootdatetime = {
script = ''
while true; do
micMuted=$(${getExe pkgs.pamixer} --default-source --get-mute)
if [[ "$micMuted" == "true" ]]; then
if [[ "$(${getExe pkgs.pamixer} --default-source --get-mute)" == "true" ]]; then
mutedString="Mic Muted "
else
mutedString=""