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
|
# Configure your nixpkgs instance
|
||||||
config = {
|
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
|
# Disable if you don't want unfree packages
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
# Workaround for https://github.com/nix-community/home-manager/issues/2942
|
||||||
|
@ -65,17 +71,12 @@
|
||||||
];
|
];
|
||||||
myAutostartCommands = [
|
myAutostartCommands = [
|
||||||
#"${pkgs.clash-verge-rev}/bin/clash-verge"
|
#"${pkgs.clash-verge-rev}/bin/clash-verge"
|
||||||
"${config.programs.firefox.package}/bin/firefox"
|
|
||||||
"${pkgs.thunderbird}/bin/thunderbird"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
obs-studio = {
|
obs-studio = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.obs-studio-plugins; [
|
plugins = with pkgs.obs-studio-plugins; [wlrobs input-overlay];
|
||||||
wlrobs
|
|
||||||
input-overlay
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
home-manager.enable = true;
|
home-manager.enable = true;
|
||||||
firefox = {
|
firefox = {
|
||||||
|
@ -84,12 +85,9 @@
|
||||||
nativeMessagingHosts = [
|
nativeMessagingHosts = [
|
||||||
(passff-host.overrideAttrs (old: {
|
(passff-host.overrideAttrs (old: {
|
||||||
dontStrip = true;
|
dontStrip = true;
|
||||||
patchPhase = ''sed -i 's#COMMAND = "pass"#COMMAND = "${
|
patchPhase = ''
|
||||||
pass.withExtensions (ext:
|
sed -i 's#COMMAND = "pass"#COMMAND = "${
|
||||||
with ext; [
|
pass.withExtensions (ext: with ext; [pass-otp pass-import])
|
||||||
pass-otp
|
|
||||||
pass-import
|
|
||||||
])
|
|
||||||
}/bin/pass"#' src/passff.py'';
|
}/bin/pass"#' src/passff.py'';
|
||||||
}))
|
}))
|
||||||
];
|
];
|
||||||
|
|
|
@ -18,7 +18,9 @@
|
||||||
monitor = [
|
monitor = [
|
||||||
#"eDP-1, 1920x1080@165,0x0,1"
|
#"eDP-1, 1920x1080@165,0x0,1"
|
||||||
"desc:Xiaomi Corporation Mi 27 NFGL 3215000032603, 1920x1080@75, 2560x0, 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
|
", preferred, auto, 1" # wildcard definition
|
||||||
];
|
];
|
||||||
general = {
|
general = {
|
||||||
|
@ -27,9 +29,7 @@
|
||||||
gaps_out = 5;
|
gaps_out = 5;
|
||||||
allow_tearing = true;
|
allow_tearing = true;
|
||||||
};
|
};
|
||||||
windowrulev2 = [
|
windowrulev2 = ["immediate, class:^(cs2)$"];
|
||||||
"immediate, class:^(cs2)$"
|
|
||||||
];
|
|
||||||
decoration = {rounding = 5;};
|
decoration = {rounding = 5;};
|
||||||
input = {
|
input = {
|
||||||
# xset rate 250 50 replacement on wayland...
|
# xset rate 250 50 replacement on wayland...
|
||||||
|
@ -41,7 +41,9 @@
|
||||||
exec-once =
|
exec-once =
|
||||||
config.myAutostartCommands
|
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 = {
|
misc = {
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue