mirror of
https://github.com/callumio/nixfiles.git
synced 2026-08-06 20:49:17 +01:00
profiles
This commit is contained in:
parent
85216d6290
commit
1f779fff49
5 changed files with 48 additions and 0 deletions
13
modules/profiles/base.nix
Normal file
13
modules/profiles/base.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
flake.nixosModules.profile-base = {
|
||||||
|
import = with config.flake.nixosModules; [
|
||||||
|
nix-config
|
||||||
|
boot
|
||||||
|
keys
|
||||||
|
hm # maybe drop and make desktop only?
|
||||||
|
secrets
|
||||||
|
tailscale
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
8
modules/profiles/desktop.nix
Normal file
8
modules/profiles/desktop.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
flake.nixosModules.profile-desktop = {
|
||||||
|
imports = with config.flake.nixosModules; [
|
||||||
|
profile-graphical
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
10
modules/profiles/graphical.nix
Normal file
10
modules/profiles/graphical.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
flake.nixosModules.profile-graphical = {
|
||||||
|
imports = [
|
||||||
|
config.flake.nixosmodules.profile-base
|
||||||
|
config.flake.nixosModules.pinentry-fix-wayland
|
||||||
|
inputs.stylix.nixosModules.stylix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
8
modules/profiles/laptop.nix
Normal file
8
modules/profiles/laptop.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
flake.nixosModules.profile-laptop = {
|
||||||
|
imports = with config.flake.nixosModules; [
|
||||||
|
profile-graphical
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
9
modules/profiles/server.nix
Normal file
9
modules/profiles/server.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
flake.nixosModules.profile-server = {
|
||||||
|
imports = with config.flake.nixosModules; [
|
||||||
|
profile-base
|
||||||
|
deploy
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue