nixos: sorting
This commit is contained in:
parent
b0ece0c86c
commit
f9161573ff
70 changed files with 50 additions and 37 deletions
|
@ -1,24 +1,22 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
# OS
|
||||
../../profiles/core
|
||||
../../profiles/device-type/laptop
|
||||
../../profiles/opt-in/zram-generator.nix
|
||||
../../profiles/opt-in/gaming.nix
|
||||
../../profiles/opt-in/virt-manager.nix
|
||||
../../profiles/laptop
|
||||
../../profiles/common/opt-in/zram-generator.nix
|
||||
../../profiles/common/opt-in/gaming.nix
|
||||
../../profiles/common/opt-in/virt-manager.nix
|
||||
|
||||
# User
|
||||
../../../users/guanranwang/nixos/profiles/core
|
||||
../../../users/guanranwang/nixos/profiles/device-type/laptop
|
||||
../../../users/guanranwang/nixos/profiles/opt-in/clash-meta-client
|
||||
../../../users/guanranwang/nixos/profiles/opt-in/gaming
|
||||
../../../users/guanranwang/nixos/profiles/opt-in/torrenting
|
||||
../../../users/guanranwang/nixos/profiles/laptop
|
||||
../../../users/guanranwang/nixos/profiles/common/opt-in/clash-meta-client
|
||||
../../../users/guanranwang/nixos/profiles/common/opt-in/gaming
|
||||
../../../users/guanranwang/nixos/profiles/common/opt-in/torrenting
|
||||
|
||||
# Hardware
|
||||
./hardware-configuration.nix
|
||||
../../profiles/opt-in/lanzaboote.nix
|
||||
../../profiles/opt-in/impermanence.nix
|
||||
../../profiles/opt-in/disko.nix
|
||||
../../profiles/common/opt-in/lanzaboote.nix
|
||||
../../profiles/common/opt-in/impermanence.nix
|
||||
../../profiles/common/opt-in/disko.nix
|
||||
];
|
||||
|
||||
networking.hostName = "Aristotle";
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#"nvidia-persistenced"
|
||||
"xow_dongle-firmware"
|
||||
#"facetimehd-firmware"
|
||||
"osu-lazer-bin-2023.1221.0"
|
||||
"osu-lazer-bin-2023.1224.0"
|
||||
"spotify"
|
||||
"steam"
|
||||
"steam-original"
|
|
@ -1,6 +1,4 @@
|
|||
{modulesPath, ...}:
|
||||
# no i dont actually own a server
|
||||
{
|
||||
{modulesPath, ...}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/minimal.nix")
|
||||
];
|
|
@ -1,6 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./graphical
|
||||
../common/core
|
||||
../common/graphical
|
||||
];
|
||||
|
||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
7
nixos/profiles/server/default.nix
Normal file
7
nixos/profiles/server/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{...}:
|
||||
# no i dont actually own a server
|
||||
{
|
||||
imports = [
|
||||
../common/minimal
|
||||
];
|
||||
}
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
### sops-nix
|
||||
sops = {
|
||||
defaultSopsFile = ../../../secrets.yaml;
|
||||
defaultSopsFile = ../../../../secrets.yaml;
|
||||
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||
gnupg.sshKeyPaths = [];
|
||||
secrets = {
|
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../../home-manager
|
||||
../../../../../home-manager/applications/trashy
|
||||
];
|
||||
}
|
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 2.2 MiB After Width: | Height: | Size: 2.2 MiB |
Before Width: | Height: | Size: 1.7 MiB After Width: | Height: | Size: 1.7 MiB |
|
@ -1,7 +1,3 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../desktop
|
||||
];
|
||||
|
||||
_: {
|
||||
home-manager.users.guanranwang = import ./home;
|
||||
}
|
|
@ -119,4 +119,4 @@ rules:
|
|||
- GEOIP, twitter, Twitter
|
||||
- GEOSITE, CN, 国内
|
||||
- GEOIP, CN, 国内
|
||||
- MATCH, 其他
|
||||
- MATCH, 其他
|
|
@ -1,5 +1,5 @@
|
|||
{...}: {
|
||||
imports = map (n: ../../../../../home-manager/applications/${n}) [
|
||||
imports = map (n: ../../../../../../home-manager/applications/${n}) [
|
||||
"steam"
|
||||
"prismlauncher"
|
||||
"osu-lazer"
|
|
@ -0,0 +1,5 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../../../home-manager/applications/qbittorrent
|
||||
];
|
||||
}
|
|
@ -1,6 +0,0 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../home-manager
|
||||
../../../../home-manager/applications/trashy
|
||||
];
|
||||
}
|
6
users/guanranwang/nixos/profiles/desktop/default.nix
Normal file
6
users/guanranwang/nixos/profiles/desktop/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../common/core
|
||||
../common/graphical
|
||||
];
|
||||
}
|
7
users/guanranwang/nixos/profiles/laptop/default.nix
Normal file
7
users/guanranwang/nixos/profiles/laptop/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../common/core
|
||||
../common/graphical
|
||||
../common/mobile
|
||||
];
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
../../../../../home-manager/applications/qbittorrent
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue