Compare commits
No commits in common. "fcca655fd57fe09f6f36fc7bce4ffb81283691b4" and "26b35a8e504910f35d45e21a815f6a4fe0224d4e" have entirely different histories.
fcca655fd5
...
26b35a8e50
6 changed files with 13 additions and 61 deletions
|
@ -40,6 +40,19 @@ in {
|
||||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
kdePackages.xdg-desktop-portal-kde
|
||||||
|
];
|
||||||
|
|
||||||
|
config.common.default = [
|
||||||
|
"hyprland"
|
||||||
|
"kde"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.${config.main-user} = {
|
home-manager.users.${config.main-user} = {
|
||||||
imports = [ hyprland.homeManagerModules.default ];
|
imports = [ hyprland.homeManagerModules.default ];
|
||||||
|
|
||||||
|
@ -68,34 +81,6 @@ in {
|
||||||
${config.hyprland-session.extraConfig}
|
${config.hyprland-session.extraConfig}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
# MUST be specified under home manager or home manager will silently replace
|
|
||||||
# configs at the system level.
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
extraPortals = lib.mkForce (with pkgs; [
|
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
kdePackages.xdg-desktop-portal-kde
|
|
||||||
]);
|
|
||||||
|
|
||||||
configPackages = lib.mkForce [];
|
|
||||||
config.common = {
|
|
||||||
default = [ "hyprland" ];
|
|
||||||
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Without this the portal blocks on desktop portals not being ready...
|
|
||||||
systemd.user.services.plasma-xdg-desktop-portal-kde.Service = {
|
|
||||||
ExecStart = "${pkgs.kdePackages.xdg-desktop-portal-kde}/libexec/xdg-desktop-portal-kde";
|
|
||||||
BusName = "org.freedesktop.impl.portal.desktop.kde";
|
|
||||||
Restart = "no";
|
|
||||||
Environment = [
|
|
||||||
"QT_QPA_PLATFORMTHEME="
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -67,7 +67,6 @@ misc {
|
||||||
disable_hyprland_logo = true
|
disable_hyprland_logo = true
|
||||||
disable_splash_rendering = true
|
disable_splash_rendering = true
|
||||||
key_press_enables_dpms = true
|
key_press_enables_dpms = true
|
||||||
session_lock_xray = true
|
|
||||||
}
|
}
|
||||||
|
|
||||||
render {
|
render {
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
{ config, impurity, ... }: {
|
|
||||||
home-manager.users.${config.main-user} = { config, ... }: {
|
|
||||||
programs.nushell = {
|
|
||||||
enable = true;
|
|
||||||
configFile.text = "source ${impurity.link ./nushell.nu}";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.carapace = {
|
|
||||||
enable = true;
|
|
||||||
enableNushellIntegration = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -1,5 +0,0 @@
|
||||||
$env.config.show_banner = false
|
|
||||||
$env.config.buffer_editor = ["emacsclient", "-c"]
|
|
||||||
$env.CARAPACE_BRIDGES = ["fish", "zsh", "bash"]
|
|
||||||
|
|
||||||
alias e = emacsclient -c
|
|
|
@ -6,7 +6,6 @@
|
||||||
./user
|
./user
|
||||||
./emacs
|
./emacs
|
||||||
./zsh
|
./zsh
|
||||||
./shell
|
|
||||||
./polkit.nix
|
./polkit.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -45,17 +45,4 @@
|
||||||
|
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
|
||||||
# usb ethernet dongle
|
|
||||||
ACTION=="bind", SUBSYSTEM=="usb", ATTR{idVendor}=="0b05", ATTR{idProduct}=="1976", \
|
|
||||||
RUN+="/bin/sh -c 'echo -n $$KERNEL:2.0 > /sys/bus/usb/drivers/cdc_ncm/unbind'", \
|
|
||||||
RUN+="${pkgs.kmod}/bin/modprobe r8152", \
|
|
||||||
RUN+="/bin/sh -c 'echo -n 0b05 1976 > /sys/bus/usb/drivers/r8152/new_id'"
|
|
||||||
|
|
||||||
# wch stuff
|
|
||||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="4348", ATTRS{idProduct}=="55e0", GROUP="wheel"
|
|
||||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="8012", GROUP="wheel"
|
|
||||||
SUBSYSTEM=="usb", ATTRS{idVendor}=="1a86", ATTRS{idProduct}=="8010", GROUP="wheel"
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue