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 = [
|
imports = [
|
||||||
# OS
|
# OS
|
||||||
../../profiles/core
|
../../profiles/laptop
|
||||||
../../profiles/device-type/laptop
|
../../profiles/common/opt-in/zram-generator.nix
|
||||||
../../profiles/opt-in/zram-generator.nix
|
../../profiles/common/opt-in/gaming.nix
|
||||||
../../profiles/opt-in/gaming.nix
|
../../profiles/common/opt-in/virt-manager.nix
|
||||||
../../profiles/opt-in/virt-manager.nix
|
|
||||||
|
|
||||||
# User
|
# User
|
||||||
../../../users/guanranwang/nixos/profiles/core
|
../../../users/guanranwang/nixos/profiles/laptop
|
||||||
../../../users/guanranwang/nixos/profiles/device-type/laptop
|
../../../users/guanranwang/nixos/profiles/common/opt-in/clash-meta-client
|
||||||
../../../users/guanranwang/nixos/profiles/opt-in/clash-meta-client
|
../../../users/guanranwang/nixos/profiles/common/opt-in/gaming
|
||||||
../../../users/guanranwang/nixos/profiles/opt-in/gaming
|
../../../users/guanranwang/nixos/profiles/common/opt-in/torrenting
|
||||||
../../../users/guanranwang/nixos/profiles/opt-in/torrenting
|
|
||||||
|
|
||||||
# Hardware
|
# Hardware
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../profiles/opt-in/lanzaboote.nix
|
../../profiles/common/opt-in/lanzaboote.nix
|
||||||
../../profiles/opt-in/impermanence.nix
|
../../profiles/common/opt-in/impermanence.nix
|
||||||
../../profiles/opt-in/disko.nix
|
../../profiles/common/opt-in/disko.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "Aristotle";
|
networking.hostName = "Aristotle";
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#"nvidia-persistenced"
|
#"nvidia-persistenced"
|
||||||
"xow_dongle-firmware"
|
"xow_dongle-firmware"
|
||||||
#"facetimehd-firmware"
|
#"facetimehd-firmware"
|
||||||
"osu-lazer-bin-2023.1221.0"
|
"osu-lazer-bin-2023.1224.0"
|
||||||
"spotify"
|
"spotify"
|
||||||
"steam"
|
"steam"
|
||||||
"steam-original"
|
"steam-original"
|
|
@ -1,6 +1,4 @@
|
||||||
{modulesPath, ...}:
|
{modulesPath, ...}: {
|
||||||
# no i dont actually own a server
|
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
(modulesPath + "/profiles/minimal.nix")
|
(modulesPath + "/profiles/minimal.nix")
|
||||||
];
|
];
|
|
@ -1,6 +1,7 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
imports = [
|
imports = [
|
||||||
./graphical
|
../common/core
|
||||||
|
../common/graphical
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_zen;
|
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-nix
|
||||||
sops = {
|
sops = {
|
||||||
defaultSopsFile = ../../../secrets.yaml;
|
defaultSopsFile = ../../../../secrets.yaml;
|
||||||
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||||
gnupg.sshKeyPaths = [];
|
gnupg.sshKeyPaths = [];
|
||||||
secrets = {
|
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;
|
home-manager.users.guanranwang = import ./home;
|
||||||
}
|
}
|
|
@ -1,5 +1,5 @@
|
||||||
{...}: {
|
{...}: {
|
||||||
imports = map (n: ../../../../../home-manager/applications/${n}) [
|
imports = map (n: ../../../../../../home-manager/applications/${n}) [
|
||||||
"steam"
|
"steam"
|
||||||
"prismlauncher"
|
"prismlauncher"
|
||||||
"osu-lazer"
|
"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