feat: various home-manager option improvements
nixpkgs-home-manager: fix: some insecure packages hyprland: move autoruns in hypr-specific file
This commit is contained in:
parent
24c2411160
commit
da68374b71
2 changed files with 17 additions and 17 deletions
|
@ -33,6 +33,12 @@
|
|||
];
|
||||
# Configure your nixpkgs instance
|
||||
config = {
|
||||
permittedInsecurePackages = [
|
||||
"dotnet-core-combined"
|
||||
"dotnet-sdk-6.0.428"
|
||||
"dotnet-sdk-7.0.410"
|
||||
"dotnet-sdk-wrapped-6.0.428"
|
||||
];
|
||||
# Disable if you don't want unfree packages
|
||||
allowUnfree = true;
|
||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||
|
@ -65,17 +71,12 @@
|
|||
];
|
||||
myAutostartCommands = [
|
||||
#"${pkgs.clash-verge-rev}/bin/clash-verge"
|
||||
"${config.programs.firefox.package}/bin/firefox"
|
||||
"${pkgs.thunderbird}/bin/thunderbird"
|
||||
];
|
||||
|
||||
programs = {
|
||||
obs-studio = {
|
||||
enable = true;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
wlrobs
|
||||
input-overlay
|
||||
];
|
||||
plugins = with pkgs.obs-studio-plugins; [wlrobs input-overlay];
|
||||
};
|
||||
home-manager.enable = true;
|
||||
firefox = {
|
||||
|
@ -84,12 +85,9 @@
|
|||
nativeMessagingHosts = [
|
||||
(passff-host.overrideAttrs (old: {
|
||||
dontStrip = true;
|
||||
patchPhase = ''sed -i 's#COMMAND = "pass"#COMMAND = "${
|
||||
pass.withExtensions (ext:
|
||||
with ext; [
|
||||
pass-otp
|
||||
pass-import
|
||||
])
|
||||
patchPhase = ''
|
||||
sed -i 's#COMMAND = "pass"#COMMAND = "${
|
||||
pass.withExtensions (ext: with ext; [pass-otp pass-import])
|
||||
}/bin/pass"#' src/passff.py'';
|
||||
}))
|
||||
];
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
monitor = [
|
||||
#"eDP-1, 1920x1080@165,0x0,1"
|
||||
"desc:Xiaomi Corporation Mi 27 NFGL 3215000032603, 1920x1080@75, 2560x0, 1"
|
||||
"desc:BOE 0x0B40,preferred, auto, ${builtins.toString config.displayScale}"
|
||||
"desc:BOE 0x0B40,preferred, auto, ${
|
||||
builtins.toString config.displayScale
|
||||
}"
|
||||
", preferred, auto, 1" # wildcard definition
|
||||
];
|
||||
general = {
|
||||
|
@ -27,9 +29,7 @@
|
|||
gaps_out = 5;
|
||||
allow_tearing = true;
|
||||
};
|
||||
windowrulev2 = [
|
||||
"immediate, class:^(cs2)$"
|
||||
];
|
||||
windowrulev2 = ["immediate, class:^(cs2)$"];
|
||||
decoration = {rounding = 5;};
|
||||
input = {
|
||||
# xset rate 250 50 replacement on wayland...
|
||||
|
@ -41,7 +41,9 @@
|
|||
exec-once =
|
||||
config.myAutostartCommands
|
||||
++ [
|
||||
"[workspace special silent] ${pkgs.foot}/bin/footclient ${config.myShells.defaultShell}"
|
||||
# future hyprland-specific exec commands
|
||||
"${config.programs.firefox.package}/bin/firefox"
|
||||
"${pkgs.thunderbird}/bin/thunderbird"
|
||||
];
|
||||
misc = {
|
||||
disable_hyprland_logo = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue