home,nixos,presets: add desktop/torrenting

This commit is contained in:
Guanran Wang 2023-11-09 00:00:18 +08:00
parent 3601c15404
commit 311e314ca7
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
2 changed files with 19 additions and 14 deletions

View file

@ -189,7 +189,10 @@
time.timeZone = "Asia/Shanghai"; # Timezone time.timeZone = "Asia/Shanghai"; # Timezone
### Home-Manager ### Home-Manager
home-manager.users.guanranwang = import ./users/guanranwang/home-manager/nixos/presets/desktop/gaming.nix; home-manager.users.guanranwang.imports = [
./users/guanranwang/home-manager/nixos/presets/desktop/gaming.nix
./users/guanranwang/home-manager/nixos/presets/desktop/torrenting.nix
];
### Options ### Options
myFlake.nixos.networking.dns = "alidns"; myFlake.nixos.networking.dns = "alidns";
@ -198,7 +201,7 @@
}; };
}; };
### nix-darwin (macOS) ### nix-darwin
darwinConfigurations = { darwinConfigurations = {
"iMac-macOS" = nix-darwin.lib.darwinSystem { "iMac-macOS" = nix-darwin.lib.darwinSystem {
system = "x86_64-darwin"; system = "x86_64-darwin";
@ -219,17 +222,16 @@
}; };
}; };
### Home-Manager ### Standalone Home-Manager
# TODO: Actually figure out how this works #homeConfigurations = {
homeConfigurations = { # "guanranwang@81fw-nixos" = home-manager.lib.homeManagerConfiguration {
"guanranwang@81fw-nixos" = home-manager.lib.homeManagerConfiguration { # pkgs = nixpkgs.legacyPackages.x86_64-linux;
pkgs = nixpkgs.legacyPackages.x86_64-linux; # extraSpecialArgs = {inherit inputs;};
extraSpecialArgs = {inherit inputs;}; # modules = [
modules = [ # sops-nix.homeManagerModules.sops
sops-nix.homeManagerModules.sops # hyprland.homeManagerModules.default
hyprland.homeManagerModules.default # ];
]; # };
}; #};
};
}; };
} }

View file

@ -0,0 +1,3 @@
{pkgs, ...}: {
home.packages = with pkgs; [qbittorrent];
}