Compare commits

..

2 Commits

Author SHA1 Message Date
7d793c45dc final changes before big refactor... 2026-02-07 19:06:03 +00:00
5911da7f99 various fixes 2026-01-28 10:05:29 +00:00
9 changed files with 57 additions and 32 deletions

View File

@@ -98,22 +98,22 @@
};
});
})
(
final: prev:
let
system = prev.stdenv.hostPlatform.system;
pkgs_gamescope = import inputs.nixpkgs-gamescope {
inherit system;
config = {
allow_unfree = true;
};
};
packageNix = "${inputs.nixpkgs-gamescope}/pkgs/by-name/ga/gamescope/package.nix";
in
{
gamescope = pkgs_gamescope.callPackage packageNix { };
}
)
# (
# final: prev:
# let
# system = prev.stdenv.hostPlatform.system;
# pkgs_gamescope = import inputs.nixpkgs-gamescope {
# inherit system;
# config = {
# allow_unfree = true;
# };
# };
# packageNix = "${inputs.nixpkgs-gamescope}/pkgs/by-name/ga/gamescope/package.nix";
# in
# {
# gamescope = pkgs_gamescope.callPackage packageNix { };
# }
# )
(self: super: {
intel-npu-driver = super.intel-npu-driver.overrideAttrs (oldAttrs: rec {
installPhase = ''

View File

@@ -1,4 +1,7 @@
{inputs, ...}:{imports = [inputs.disko.nixosModules.disko]; disko.devices = {
{ inputs, ... }:
{
imports = [ inputs.disko.nixosModules.disko ];
disko.devices = {
disk = {
main = {
device = "/dev/nvme0n1";

View File

@@ -44,8 +44,7 @@ in
PLATFORM_PROFILE_ON_AC = "balanced";
PLATFORM_PROFILE_ON_BAT = "quiet";
START_CHARGE_THRESH_BAT0 = 40; # 40 and below it starts to charge
STOP_CHARGE_THRESH_BAT0 = 80; # 80 and above it stops charging
STOP_CHARGE_THRESH_BAT0 = 80;
};
};
services.thermald.enable = true;

View File

@@ -61,6 +61,9 @@ in
"doloro"
];
};
services.gnome.gnome-keyring.enable = true;
hardware = {
firmware = [ pkgs.intel-npu-driver ];
cpu.intel = {
@@ -149,6 +152,7 @@ in
# tlp-pd
brightnessctl
nvtopPackages.intel
seahorse
];
# Some programs need SUID wrappers, can be configured further or are

View File

@@ -31,6 +31,8 @@ in
services.resolved.enable = true;
services.gnome.gnome-keyring.enable = true;
# Use the systemd-boot EFI boot loader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "nodev";
@@ -126,7 +128,6 @@ in
enable = true;
};
# Load nvidia driver for Xorg and Wayland
services.xserver.videoDrivers = [ "nvidia" ];
fileSystems."/mnt/2tb" = {
@@ -234,7 +235,7 @@ in
programs = {
ssh = {
# enable = true;
startAgent = true;
# startAgent = true;
};
fish.enable = true;
@@ -272,6 +273,7 @@ in
wget
killall
sops
seahorse
];
# Some programs need SUID wrappers, can be configured further or are

View File

@@ -37,8 +37,8 @@ in
package = pkgs-unstable.mesa;
# if you also want 32-bit support (e.g for Steam)
enable32Bit = true;
package32 = pkgs-unstable.pkgsi686Linux.mesa;
# enable32Bit = true;
# package32 = pkgs-unstable.pkgsi686Linux.mesa;
};
};
}

View File

@@ -1,11 +1,31 @@
{ inputs, pkgs, ... }:
let
config = pkgs.writeTextFile {
name = "config";
text = ''
width = 100%
height = 100%
border-width = 0
outline-width = 0
padding-left = 35%
padding-top = 35%
result-spacing = 25
num-results = 5
font = monospace
background-color = #000A
'';
};
script = pkgs.writeShellScript "mreow" ''
exec $(tofi-drun -c ${config})
'';
in
{
home.packages = [
pkgs.kickoff
pkgs.tofi
];
wayland.windowManager.hyprland.settings = {
bind = [
"$mainMod, R, exec, kickoff"
"$mainMod, R, exec, ${script}"
];
};
# systemd.user.services.hyprlauncher-deamon = {

View File

@@ -143,9 +143,9 @@ in
];
windowrule = [
"match:class .*, suppress_event maximize"
"match:class ^(gamescope)$, workspace 5"
"match:class ^(gamescope)$, fullscreen true"
"match:class ^(gamescope)$, immediate true"
"match:class gamescope, workspace 5"
"match:class gamescope, fullscreen true"
"match:class gamescope, immediate true"
"match:class ^(steam)$, workspace 6 silent"
"match:class ^(vesktop)$, workspace 8 silent"
"match:class ^(org.telegram.desktop)$, workspace 8 silent"

View File

@@ -16,7 +16,7 @@ in
inputs.nixvim.homeModules.nixvim
./plugins
];
config.home.packages = with pkgs; [
extraPackages = with pkgs; [
# formatters
nixfmt
rustfmt
@@ -57,9 +57,6 @@ in
nixd = {
enable = true;
};
astro = {
enable = true;
};
ts_ls = {
enable = true;
};