Compare commits
4 commits
fbe601fd4b
...
7479ca6ed3
Author | SHA1 | Date | |
---|---|---|---|
7479ca6ed3 | |||
a1958c1fe8 | |||
5175e934a7 | |||
431992eff7 |
3 changed files with 19 additions and 12 deletions
|
@ -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"
|
||||
])
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue