update laptop config
This commit is contained in:
338 files changed
+45564
-122
No files matched your search
@@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
|
||||
@@ -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\"";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user