some small changes and etc

This commit is contained in:
Matt Nish-Lapidus 2025-02-21 22:59:53 -05:00
parent d9be121700
commit 8067765fec
3 changed files with 54 additions and 32 deletions

24
flake.lock generated
View file

@ -10,11 +10,11 @@
"pre-commit-hooks": "pre-commit-hooks" "pre-commit-hooks": "pre-commit-hooks"
}, },
"locked": { "locked": {
"lastModified": 1738370996, "lastModified": 1740179067,
"narHash": "sha256-HFDE+kODQc3eYDaJGbinxyBwPr/02LJvd9Gyewbuxtc=", "narHash": "sha256-LK1kY074RAttISPbeHIuR0mu2ZoA1drPNOPqir1rFtc=",
"owner": "mrshmllow", "owner": "mrshmllow",
"repo": "affinity-nix", "repo": "affinity-nix",
"rev": "b77bfab85655365d516718d34ff93cd9308513b9", "rev": "3934b165df19a91362e8ac530401aa2bd52e2441",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -69,11 +69,11 @@
"nixpkgs-stable": "nixpkgs-stable" "nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1740129365, "lastModified": 1740189964,
"narHash": "sha256-SN2R1HKQsVHq0O9/Ilyi7221kIXUjlQawuk9BhysnE8=", "narHash": "sha256-80FEyl0zRoBA3fnuJA1MtsZb3hI3WRFE5OFAYr6tLTA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "38cde30c151765ba64e8e7b0b47ec35ecbbbdb02", "rev": "33b945739322cb13a351114563ffad9c4f67968c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -323,11 +323,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1740145731, "lastModified": 1740188029,
"narHash": "sha256-foYErxD5YuRCkRGUd5AcQjCrX7ELdPJr3+eYMfNmI4U=", "narHash": "sha256-pnPs+XSpR633G/q0gj+SDyL4RaDfiKlom86zEBPtq+M=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "3c82285348bc811b723014cf4dba2f87e7ffc885", "rev": "765cb91e9d5ab06ed8c92c25fc0e51d6c11d43cb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -1429,11 +1429,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1740139654, "lastModified": 1740150522,
"narHash": "sha256-qbE78jjws1Az80vrD1+3lPIU6EGF3PpKa9pfvvC4nBQ=", "narHash": "sha256-SkH7Zm+ZgvyWpjGyqLq2PKbtxQ7YA2Q8v4OBxp8LbNw=",
"owner": "sxyazi", "owner": "sxyazi",
"repo": "yazi", "repo": "yazi",
"rev": "7f17ecd54708a728be42233db5619523ac73a8c8", "rev": "52a5ab59e943447c0d6d4e04b7afffc1a4ab23f2",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -64,26 +64,44 @@
i18n.defaultLocale = "en_CA.UTF-8"; i18n.defaultLocale = "en_CA.UTF-8";
console = { console = {
earlySetup = true;
colors = with pkgs.lib.nix-rice; colors = with pkgs.lib.nix-rice;
let theme = palette.toRgbShortHex pkgs.rice.colorPalette; let theme = palette.toRgbShortHex pkgs.rice.colorPalette;
in in
with theme; [ with theme; [
normal.black # normal.black
normal.red # normal.red
normal.green # normal.green
normal.yellow # normal.yellow
normal.blue # normal.blue
normal.magenta # normal.magenta
normal.cyan # normal.cyan
normal.white # normal.white
bright.black # bright.black
bright.red # bright.red
bright.green # bright.green
bright.yellow # bright.yellow
bright.blue # bright.blue
bright.magenta # bright.magenta
bright.cyan # bright.cyan
bright.white # bright.white
"282c34"
"353b45"
"3e4451"
"545862"
"565c64"
"abb2bf"
"b6bdca"
"c8ccd4"
"e06c75"
"d19a66"
"e5c07b"
"98c379"
"56b6c2"
"61afef"
"c678dd"
"be5046"
]; ];
}; };
@ -121,12 +139,15 @@
# Bootloader. # Bootloader.
boot = { boot = {
loader = { loader = {
systemd-boot.enable = true; systemd-boot = {
systemd-boot.configurationLimit = 8; enable = true;
configurationLimit = 8;
consoleMode = "max";
};
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [ "i2c-dev" "ddcci-backlight" "amd_3d_vcache" "uinput" ]; kernelModules = [ "i2c-dev" "ddcci-backlight" "amd_3d_vcache" "uinput" "amd_pstate=active" ];
extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ]; extraModulePackages = with config.boot.kernelPackages; [ ddcci-driver ];
initrd.systemd.enable = true; initrd.systemd.enable = true;
initrd.kernelModules = [ initrd.kernelModules = [
@ -179,6 +200,8 @@
pkgs.alsa-firmware pkgs.alsa-firmware
]; ];
amdgpu.initrd.enable = true;
nvidia = { nvidia = {
open = true; open = true;
# Modesetting is required. # Modesetting is required.

View file

@ -35,7 +35,6 @@
{ on = "l"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; } { on = "l"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Enter>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; } { on = "<Enter>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Right>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; } { on = "<Right>"; run = "plugin smart-enter"; desc = "Enter the child directory, or open the file"; }
{ on = "<Delete>"; run = "remove"; }
{ on = "<Backspace>"; run = "remove"; } { on = "<Backspace>"; run = "remove"; }
]; ];
}; };