update laptop config

This commit is contained in:
greyweather committed 2026-08-14 21:33:40 +01:00
1 parent 733a94f15f
commit efde36f8f3
338 files changed
+45564 -122

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
{
config,
pkgs,
inputs,
...
}: {
imports = [
inputs.nix-flatpak.homeManagerModules.nix-flatpak
];
services.flatpak = {
enable = true;
packages = [
"com.github.tchx84.Flatseal"
];
update.auto = {
enable = true;
onCalendar = "05:00";
};
};
}
+8 -18
View File
@@ -20,35 +20,29 @@ in {
nix.buildMachines = [
{
hostName = "builder";
hostName = "nixremote";
systems = [ "x86_64-linux" "i686-linux" ];
protocol = "ssh-ng";
maxJobs = 25;
speedFactor = 100;
supportedFeatures = [ "nixos-test" "benchmark" "kvm" "big-parallel" ];
}
{
hostName = "localhost";
systems = [ "x86_64-linux" "i686-linux" ];
maxJobs = 10;
speedFactor = 1;
supportedFeatures = [ ];
supportedFeatures = [ "benchmark" "kvm" "big-parallel" ];
}
];
nix.distributedBuilds = true;
nix.settings.builders-use-substitutes = true;
services.blueman.enable = true;
services.tailscale = {
enable = true;
openFirewall = true;
};
services.spotifyd = {
enable = true;
};
environment.systemPackages = with pkgs; [
spotifyd
github-desktop
moonlight-qt
steam-run
unityhub
];
hardware.steam-hardware.enable = true;
@@ -65,10 +59,6 @@ in {
stylix.polarity = "dark";
services.fprintd.enable = true;
security.pam.services.login.fprintAuth = true;
security.pam.services.sudo.fprintAuth = true;
security.pam.services.swaylock.fprintAuth = true;
security.pam.services.lightdm.fprintAuth = true;
programs.nautilus-open-any-terminal = {
enable = true;
+5 -5
View File
@@ -14,15 +14,15 @@ in {
"${global-configs}/kitty.nix"
"${global-configs}/floorp.nix"
"${global-configs}/vscode.nix"
"${global-configs}/gnome.nix"
#"${global-configs}/gnome.nix"
"${global-configs}/equibop.nix"
#"${global-configs}/spicetify.nix"
"${global-configs}/spicetify.nix"
"${global-configs}/niri.nix"
#./configs/flatpak.nix
];
home.packages = with pkgs; [
obsidian
github-desktop
thunderbird
jetbrains.clion
jetbrains.idea
@@ -104,8 +104,8 @@ in {
programs.zsh.shellAliases = {
wake-takamaki = "ssh sakamoto .local/bin/wake-takamaki";
shutdown-takamaki = "ssh takamaki global-shutdown";
reboot-takamaki = "ssh takamaki global-reboot";
shutdown-takamaki = "ssh takamaki universal-shutdown";
reboot-takamaki = "ssh takamaki universal-reboot";
switch-takamaki-os = "ssh takamaki switch-os";
};
+1 -1
View File
@@ -16,7 +16,7 @@
serviceConfig = {
Type = "simple";
User = "root";
ExecStart = "${pkgs.busybox}/bin/sh -c \"echo LID > /proc/acpi/wakeup\"";
ExecStart = "${pkgs.busybox}/bin/sh -c \"if [ \\\"$(cat /proc/acpi/wakeup | grep 'LID' | grep 'enabled')\\\" != \\\"\\\" ]; then echo LID > /proc/acpi/wakeup; fi\"";
};
};