This commit is contained in:
dusk 2023-09-21 21:55:07 +03:00
parent e32d7813b9
commit 82957386a9
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw
6 changed files with 84 additions and 83 deletions

View File

@ -9,11 +9,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1690228878, "lastModified": 1694793763,
"narHash": "sha256-9Xe7JV0krp4RJC9W9W9WutZVlw6BlHTFMiUP/k48LQY=", "narHash": "sha256-y6gTE1C9mIoSkymRYyzCmv62PFgy+hbZ5j8fuiQK5KI=",
"owner": "ryantm", "owner": "ryantm",
"repo": "agenix", "repo": "agenix",
"rev": "d8c973fd228949736dedf61b7f8cc1ece3236792", "rev": "572baca9b0c592f71982fca0790db4ce311e3c75",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -101,11 +101,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691746062, "lastModified": 1694631477,
"narHash": "sha256-FVVnNxCS2DHdo8mvRVvWZx1n2IWbdRZg+/QScTARaIY=", "narHash": "sha256-35SgWnBkWTyyRwVPyUKoShjzXfX0H1+HDdEEjZ/LsXc=",
"owner": "famedly", "owner": "famedly",
"repo": "conduit", "repo": "conduit",
"rev": "6dfb262ddff306b6712ac568aa4d84e9026f9bc9", "rev": "3bfdae795d4d9ec9aeaac7465e7535ac88e47756",
"type": "gitlab" "type": "gitlab"
}, },
"original": { "original": {
@ -605,11 +605,11 @@
"nixpkgs-lib": "nixpkgs-lib_3" "nixpkgs-lib": "nixpkgs-lib_3"
}, },
"locked": { "locked": {
"lastModified": 1688466019, "lastModified": 1690933134,
"narHash": "sha256-VeM2akYrBYMsb4W/MmBo1zmaMfgbL4cH3Pu8PGyIwJ0=", "narHash": "sha256-ab989mN63fQZBFrkk4Q8bYxQCktuHmBIBqUG1jl6/FQ=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "8e8d955c22df93dbe24f19ea04f47a74adbdc5ec", "rev": "59cf3f1447cfc75087e7273b04b31e689a8599fb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -734,11 +734,11 @@
"rust-overlay": "rust-overlay_3" "rust-overlay": "rust-overlay_3"
}, },
"locked": { "locked": {
"lastModified": 1692735437, "lastModified": 1694822684,
"narHash": "sha256-qg5wfRMcdQesaPf4tTTui2PcMvl2HzIh0hiVd50bVnA=", "narHash": "sha256-SVw6wEiMLgbVNED0y3l62Ws3PLzK8qufTRpYbvUjNm4=",
"owner": "helix-editor", "owner": "helix-editor",
"repo": "helix", "repo": "helix",
"rev": "546c8ca344afe67add59af65b5548d98975d3687", "rev": "941dc6c614d684804c3580c4ae8b3c4368aab217",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -754,11 +754,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692763155, "lastModified": 1694643239,
"narHash": "sha256-qMrGKZ8c/q/mHO3ZdrcBPwiVVXPLLgXjY98Ejqb5kAA=", "narHash": "sha256-pv2k/5FvyirDE8g4TNehzwZ0T4UOMMmqWSQnM/luRtE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "6a20e40acaebf067da682661aa67da8b36812606", "rev": "d9b88b43524db1591fb3d9410a21428198d75d49",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -983,11 +983,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1691768450, "lastModified": 1694765281,
"narHash": "sha256-NbHI+0WrHxGj34AAzS6V3bj5EJK/YBKlmvbrkwkCxhs=", "narHash": "sha256-Edj2wyiszLXpZ6tXrZY6tJEOLJeGQAYd5cM8XfBPk1s=",
"owner": "viperML", "owner": "viperML",
"repo": "nh", "repo": "nh",
"rev": "6dcca8fc2a8873161ad60300d8ecad13326176d8", "rev": "8896f7f3647d3adc24adae3d51793a6837eb2b17",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1019,11 +1019,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692066861, "lastModified": 1694400214,
"narHash": "sha256-UTA2HZsFDaIR3NkIobH6dpQlGgGsEw1kL1uQhM6bO2g=", "narHash": "sha256-QHESodq9FQpjWshfxmdYePnEAPaNPsYEd3iBe/JYjqk=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixd", "repo": "nixd",
"rev": "d1704af3bc2fffa1cbe70e29d96a1522040aaee5", "rev": "69b533e8d643c5dcbda7962d4dff808d72165783",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1054,11 +1054,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1692373088, "lastModified": 1694710316,
"narHash": "sha256-EPgCecdc9I8aTdmDNoO1l7R72r2WPhZRcesV4nzxBj8=", "narHash": "sha256-uRh46iIC86D8BD1wCDA5gRrt+hslUXiD0kx/UjnjBcs=",
"owner": "nixos", "owner": "nixos",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "7f1836531b126cfcf584e7d7d71bf8758bb58969", "rev": "570256327eb6ca6f7bebe8d93af49459092a0c43",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1069,11 +1069,11 @@
}, },
"nixos-persistence": { "nixos-persistence": {
"locked": { "locked": {
"lastModified": 1690797372, "lastModified": 1694622745,
"narHash": "sha256-GImz19e33SeVcIvBB7NnhbJSbTpFFmNtWLh7Z85Y188=", "narHash": "sha256-z397+eDhKx9c2qNafL1xv75lC0Q4nOaFlhaU1TINqb8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "impermanence", "repo": "impermanence",
"rev": "e3a7acd113903269a1b5c8b527e84ce7ee859851", "rev": "e9643d08d0d193a2e074a19d4d90c67a874d932e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1137,11 +1137,11 @@
"nixpkgs-lib_3": { "nixpkgs-lib_3": {
"locked": { "locked": {
"dir": "lib", "dir": "lib",
"lastModified": 1688049487, "lastModified": 1690881714,
"narHash": "sha256-100g4iaKC9MalDjUW9iN6Jl/OocTDtXdeAj7pEGIRh4=", "narHash": "sha256-h/nXluEqdiQHs1oSgkOOWF+j8gcJMWhwnZ9PFabN6q0=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "4bc72cae107788bf3f24f30db2e2f685c9298dc9", "rev": "9e1960bc196baf6881340d53dccb203a951745a2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1172,11 +1172,11 @@
}, },
"nixpkgs-master": { "nixpkgs-master": {
"locked": { "locked": {
"lastModified": 1692788033, "lastModified": 1694874640,
"narHash": "sha256-jMXj3av6fm/9cAf8umOVRUXJjN0ygFpFgEOabDYqPRs=", "narHash": "sha256-2TGogij/TyUFGIUE7F69CVW2L/u7JsGnDxXV0knX0K0=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "799e2353c404c0d8d5fc35984a8cc29b692fe4fa", "rev": "624c20171e9473f114f91d6c08f8a4e49ca3752e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1189,11 +1189,11 @@
"nixpkgs-wayland": { "nixpkgs-wayland": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1692782111, "lastModified": 1694867154,
"narHash": "sha256-h12nGYCOiJKON+nGSw7FXh5hbe3R26dNx4Whg1yXgck=", "narHash": "sha256-9WSzb10vk8pcKydg0RAUa7Z9YMRekVqOrBrEPqZzDvc=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nixpkgs-wayland", "repo": "nixpkgs-wayland",
"rev": "a110844b51b49839b2d163322bb845160fb12641", "rev": "0b64693b3e90070f0fd8075b9bd8a255701b1ac9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1250,11 +1250,11 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1692638711, "lastModified": 1694767346,
"narHash": "sha256-J0LgSFgJVGCC1+j5R2QndadWI1oumusg6hCtYAzLID4=", "narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "91a22f76cd1716f9d0149e8a5c68424bb691de15", "rev": "ace5093e36ab1e95cb9463863491bee90d5a4183",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1266,11 +1266,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1692788777, "lastModified": 1694866994,
"narHash": "sha256-UpNj3pGGxjiFJjI8osih14oT/cdQU7WlB6jqxHdykls=", "narHash": "sha256-uo50mKCooOkNvJRBl/O4AOKa2QztMvda0aFppp2QrBE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "cd2e7849222af80ea088d494cadac97658fb8fff", "rev": "5f8282ce5ce11225ae6cd5fff355685fef0c132e",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1722,11 +1722,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1692753310, "lastModified": 1694827048,
"narHash": "sha256-zRgfrBAW5HbsDuNQJ74VLnuP4DvdKCXxcq8Oi+Rtf5E=", "narHash": "sha256-2c1mjR2IHkfk/PoWhBZh4pbSAe34CZmuaUo0B6X3NLw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "nix-vscode-extensions", "repo": "nix-vscode-extensions",
"rev": "a2e174547826aab2fe4229322611af6038dd5481", "rev": "bdd7fee1c2b085c15101cae04cf62260d8f77555",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -3,15 +3,15 @@
services.auto-cpufreq.settings = { services.auto-cpufreq.settings = {
charger = { charger = {
governor = "powersave"; governor = "powersave";
scaling_min_freq = 1500000; scaling_min_freq = 600000;
scaling_max_freq = 3000000; scaling_max_freq = 3000000;
turbo = "auto"; turbo = "off";
}; };
battery = { battery = {
governor = "powersave"; governor = "powersave";
scaling_min_freq = 900000; scaling_min_freq = 400000;
scaling_max_freq = 1800000; scaling_max_freq = 2000000;
turbo = "auto"; turbo = "off";
}; };
}; };
services.tlp.settings = { services.tlp.settings = {

View File

@ -42,7 +42,7 @@ in {
whois whois
bat bat
fzf fzf
exa eza
lm_sensors lm_sensors
mkpasswd mkpasswd
bottom bottom
@ -57,7 +57,7 @@ in {
]; ];
shellAliases = let shellAliases = let
ifSudo = string: mkIf config.security.sudo.enable string; ifSudo = string: mkIf config.security.sudo.enable string;
inherit (pkgs) git bat exa du-dust; inherit (pkgs) git bat eza du-dust;
in { in {
g = pkgBin git; g = pkgBin git;
git-optimize = "${pkgBin git} gc --aggressive --prune=now"; git-optimize = "${pkgBin git} gc --aggressive --prune=now";
@ -66,11 +66,11 @@ in {
du = "${pkgBin du-dust}"; du = "${pkgBin du-dust}";
df = "${coreBin "df"} -h"; df = "${coreBin "df"} -h";
free = "${pkgs.procps}/bin/free -h"; free = "${pkgs.procps}/bin/free -h";
ls = pkgBin exa; ls = pkgBin eza;
l = "${pkgBin exa} -lhg"; l = "${pkgBin eza} -lhg";
la = "${pkgBin exa} -lhg -a"; la = "${pkgBin eza} -lhg -a";
t = "${pkgBin exa} -lhg -T"; t = "${pkgBin eza} -lhg -T";
ta = "${pkgBin exa} -lhg -a -T"; ta = "${pkgBin eza} -lhg -a -T";
n = nixBin; n = nixBin;
nf = "${nixBin} flake"; nf = "${nixBin} flake";
nfu = "${nixBin} flake update"; nfu = "${nixBin} flake update";

View File

@ -20,6 +20,9 @@
lockPref("privacy.clearOnShutdown.cookies", false); lockPref("privacy.clearOnShutdown.cookies", false);
lockPref("services.sync.engine.passwords", false); lockPref("services.sync.engine.passwords", false);
lockPref("network.cookie.lifetimePolicy", 0); lockPref("network.cookie.lifetimePolicy", 0);
lockPref("gfx.webrender.all", true);
lockPref("media.ffmpeg.vaapi.enabled", true);
lockPref("media.hardware-video-decoding.force-enabled", true);
''; '';
extraPolicies = { extraPolicies = {
CaptivePortal = false; CaptivePortal = false;
@ -37,21 +40,6 @@
}; };
}; };
}; };
extensions = with pkgs.nur.repos.rycee.firefox-addons; let
myExtensions =
pkgs.callPackage ./extensions.nix {inherit buildFirefoxXpiAddon;};
in
[
ublock-origin
darkreader
bitwarden
refined-github
stylus
]
++ (with myExtensions; [
catppuccin-mocha-sky
youtube-disable-number-seek
]);
profiles = { profiles = {
default = { default = {
id = 0; id = 0;
@ -62,10 +50,23 @@
id = 1; id = 1;
isDefault = true; isDefault = true;
name = "personal"; name = "personal";
extensions = with pkgs.nur.repos.rycee.firefox-addons; let
myExtensions =
pkgs.callPackage ./extensions.nix {inherit buildFirefoxXpiAddon;};
in
[
ublock-origin
darkreader
bitwarden
refined-github
]
++ (with myExtensions; [
youtube-disable-number-seek
]);
extraConfig = builtins.readFile ( extraConfig = builtins.readFile (
builtins.fetchurl { builtins.fetchurl {
url = "https://raw.githubusercontent.com/arkenfox/user.js/101.0/user.js"; url = "https://raw.githubusercontent.com/arkenfox/user.js/115.1/user.js";
sha256 = "sha256:1mb1l9dgb8mfl70lhwykgfphqnxxi1xw0h3hlgj8jyj6n1mn5v8f"; sha256 = "sha256:0x0xkbhmb53lyfpbc8wmm44dgr4zrn15b2pc6gny08mh5j4ny8m7";
} }
); );
}; };

View File

@ -108,12 +108,12 @@ in {
["sway" "foot"] ["sway" "foot"]
# desktop stuff # desktop stuff
["wayland"] ["wayland"]
["obsidian" "chromium"] ["obsidian" "firefox"]
# cli stuff # cli stuff
["zoxide" "zsh" "fzf" "starship" "direnv"] ["zoxide" "zsh" "fzf" "starship" "direnv"]
# dev stuff # dev stuff
["helix" "git" "ssh"] ["helix" "git" "ssh"]
["musikcube" "musikcubed"] # ["musikcube" "musikcubed"]
]; ];
in in
l.flatten [ l.flatten [
@ -150,7 +150,6 @@ in {
++ mkPaths ".config" [ ++ mkPaths ".config" [
# "lutris" # "lutris"
"dconf" "dconf"
"musikcube"
]; ];
files = l.flatten [ files = l.flatten [
# ".config/gnome-initial-setup-done" # ".config/gnome-initial-setup-done"
@ -201,11 +200,12 @@ in {
# prismlauncher # prismlauncher
# steamPackages.steamcmd # steamPackages.steamcmd
# steam-tui # steam-tui
abaddon gtkcord4
gh
]; ];
}; };
programs = { programs = {
musikcube.enable = true; # musikcube.enable = true;
command-not-found.enable = command-not-found.enable =
nixosConfig.programs.command-not-found.enable; nixosConfig.programs.command-not-found.enable;
git = { git = {
@ -219,10 +219,10 @@ in {
}; };
}; };
services = { services = {
musikcubed = { # musikcubed = {
enable = true; # enable = true;
settings.password = "somethingidk"; # settings.password = "somethingidk";
}; # };
gpg-agent = let gpg-agent = let
defaultCacheTtl = 3600 * 6; defaultCacheTtl = 3600 * 6;
maxCacheTtl = 3600 * 24; maxCacheTtl = 3600 * 24;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 13 MiB