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

View file

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

View file

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