update stuff
This commit is contained in:
6
etcnixos/flake.lock
generated
6
etcnixos/flake.lock
generated
@@ -316,11 +316,11 @@
|
|||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728056216,
|
"lastModified": 1728269138,
|
||||||
"narHash": "sha256-IrO06gFUDTrTlIP3Sz+mRB6WUoO2YsgMtOD3zi0VEt0=",
|
"narHash": "sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX+b5BU0yXls=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "b7ca02c7565fbf6d27ff20dd6dbd49c5b82eef28",
|
"rev": "ecfcd787f373f43307d764762e139a7cdeb9c22b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -32,8 +32,6 @@
|
|||||||
CPU_MAX_PERF_ON_BAT = 60;
|
CPU_MAX_PERF_ON_BAT = 60;
|
||||||
|
|
||||||
CPU_BOOST_ON_BAT = 0;
|
CPU_BOOST_ON_BAT = 0;
|
||||||
START_CHARGE_THRESH_BAT0 = 80;
|
|
||||||
STOP_CHARGE_THRESH_BAT0 = 90;
|
|
||||||
RUNTIME_PM_ON_BAT = "auto";
|
RUNTIME_PM_ON_BAT = "auto";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -100,15 +98,11 @@
|
|||||||
|
|
||||||
system.activationScripts = {
|
system.activationScripts = {
|
||||||
# extract all my secureboot keys
|
# extract all my secureboot keys
|
||||||
"secureboot-keys".text =
|
"secureboot-keys".text = ''
|
||||||
let
|
|
||||||
secureboot_path = "/etc/secureboot";
|
|
||||||
in
|
|
||||||
''
|
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
rm -fr ${secureboot_path} || true
|
rm -fr ${config.boot.lanzaboote.pkiBundle} || true
|
||||||
mkdir -p ${secureboot_path}
|
mkdir -p ${config.boot.lanzaboote.pkiBundle}
|
||||||
${pkgs.gnutar}/bin/tar xf /etc/nixos/secrets/secureboot.tar -C ${secureboot_path}
|
${pkgs.gnutar}/bin/tar xf /etc/nixos/secrets/secureboot.tar -C ${config.boot.lanzaboote.pkiBundle}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
18
home-manager/flake.lock
generated
18
home-manager/flake.lock
generated
@@ -111,11 +111,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728041527,
|
"lastModified": 1728306985,
|
||||||
"narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=",
|
"narHash": "sha256-l/KpcWTv2SjxCnqFs5GYhvjeVYd40WQV4/F2+w9btd4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e",
|
"rev": "3ac39b2a8b7cbfc0f96628d8a84867c885bc988b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -137,11 +137,11 @@
|
|||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728240721,
|
"lastModified": 1728280052,
|
||||||
"narHash": "sha256-kU1dKNIQI2Wue1d73D00OXX+dOFMpwLAq5CPvvCcdZk=",
|
"narHash": "sha256-8gy3keN+6vKnn5nFDXib00bXFBUW+Xf+x6TKbTDl/x0=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "88749a1471ea2d707581bd0986fff9905d0eefbc",
|
"rev": "037bd7f67212127eaa52fee8199f951d19b7954a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -170,11 +170,11 @@
|
|||||||
"niri-unstable": {
|
"niri-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728236209,
|
"lastModified": 1728277759,
|
||||||
"narHash": "sha256-Y8kOO0AiMsensF8JsleX2RD+6w4+Y3Kk42WsEveSH1I=",
|
"narHash": "sha256-pMUMUo4vMcdjU4d8wuEHI5i8fW8SzYptR3GZPeDru1c=",
|
||||||
"owner": "YaLTeR",
|
"owner": "YaLTeR",
|
||||||
"repo": "niri",
|
"repo": "niri",
|
||||||
"rev": "66be00041060ea092d611e8f2506a6ed5b3f2327",
|
"rev": "03c603918d817762ee95d21ea15a854adf47886e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -69,22 +69,26 @@
|
|||||||
#accounting
|
#accounting
|
||||||
gnucash
|
gnucash
|
||||||
|
|
||||||
|
# image tools
|
||||||
imagemagick
|
imagemagick
|
||||||
inkscape
|
inkscape
|
||||||
nomacs
|
nomacs
|
||||||
|
|
||||||
lrcget
|
# partitioning utilities
|
||||||
|
|
||||||
gparted
|
gparted
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
|
|
||||||
#small nicities
|
# small nicities
|
||||||
wl-clipboard # wl-copy & wl-paste
|
wl-clipboard # wl-copy & wl-paste
|
||||||
libnotify # notifications library
|
libnotify # notifications library
|
||||||
xdg-utils # xdg utils
|
xdg-utils # xdg utils
|
||||||
|
|
||||||
|
# music tagging utility
|
||||||
picard
|
picard
|
||||||
|
|
||||||
|
# music lyric fetcher
|
||||||
|
lrcget
|
||||||
|
|
||||||
inputs.zen-browser.packages."${pkgs.system}".specific
|
inputs.zen-browser.packages."${pkgs.system}".specific
|
||||||
|
|
||||||
(factorio.override (import ./secrets/factorio.nix))
|
(factorio.override (import ./secrets/factorio.nix))
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}";
|
NIX_CFLAGS_COMPILE = "${oldflags} ${newflags}";
|
||||||
stdenv = pkgs.clang18Stdenv;
|
stdenv = pkgs.clangStdenv;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -69,8 +69,8 @@ in
|
|||||||
home.file = lib.recursiveUpdate {
|
home.file = lib.recursiveUpdate {
|
||||||
".config/nomic.ai/GPT4All.ini".text =
|
".config/nomic.ai/GPT4All.ini".text =
|
||||||
let
|
let
|
||||||
system_prompt = "You are an expert LLM who is thoughtful and works step-by-step from first principles derive an answer to the user's prompt. For each step, title the step and begin showing your work, then decide if your work is comprehensive and if you're ready to provide your final answer. Make sure to exhaust ALL POSSIBILITIES before answering. While your reasoning is not shown to the user, it is under high levels of scrutiny to ensure high-quality reasoning. INTERNAL REASONING STEPS ARE NOT SHOWN TO THE USER, ONLY A \"Final Answer\" SECTION WILL BE SHOWN TO THE USER.
|
system_prompt = "You are an expert LLM who is thoughtful and works step-by-step from first principles derive an answer to the user's prompt. For each step, title the step and begin showing your work, then decide if your work is comprehensive and if you're ready to provide your final answer. Make sure to exhaust ALL POSSIBILITIES before answering. INTERNAL REASONING STEPS ARE NOT SHOWN TO THE USER, ONLY A \"Final Answer\" SECTION WILL BE SHOWN TO THE USER.
|
||||||
USE AS MANY REASONING STEPS AS POSSIBLE. AT LEAST 3. EXPLORE ALTERNATE ANSWERS AND CONSIDER THAT YOUR ANSWER MAY BE WRONG. IDENTIFY POSSIBLE ERRORS IN YOUR REASONING AND WHERE SUCH ERRORS MAY BE. FULLY TEST ALL OTHER POSSIBILITIES. YOU CAN BE WRONG. WHEN YOU SAY YOU ARE RE-EXAMINING, ACTUALLY RE-EXAMINE, AND USE ANOTHER APPROACH TO DO SO. BE VERBOSE IN YOUR REASONING AND RE-EXAMINING.";
|
USE AS MANY REASONING STEPS AS POSSIBLE. AT LEAST 3. EXPLORE ALTERNATE ANSWERS AND CONSIDER THAT YOUR ANSWER OR ANY ASSUMPTIONS MAY BE WRONG. IDENTIFY POSSIBLE ERRORS IN YOUR REASONING AND WHERE SUCH ERRORS MAY BE. FULLY TEST ALL OTHER POSSIBILITIES. YOU CAN BE WRONG. SHOW YOUR WORK WHEN RE-EXAMINING.";
|
||||||
in
|
in
|
||||||
''
|
''
|
||||||
[General]
|
[General]
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [ ./gui.nix ];
|
imports = [ ./gui.nix ];
|
||||||
|
|
||||||
|
# TODO! replace this with a per-package unfree whitelist (i.e what is done with apple_cursors)
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
Reference in New Issue
Block a user