home,nixos,presets: add desktop/torrenting
This commit is contained in:
parent
3601c15404
commit
311e314ca7
2 changed files with 19 additions and 14 deletions
30
flake.nix
30
flake.nix
|
@ -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
|
# ];
|
||||||
];
|
# };
|
||||||
};
|
#};
|
||||||
};
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [qbittorrent];
|
||||||
|
}
|
Loading…
Reference in a new issue