Move desktop/non-headless packages
This commit is contained in:
parent
2803ef1063
commit
2f56994696
6 changed files with 28 additions and 57 deletions
|
@ -40,8 +40,6 @@
|
||||||
username = "opdavies";
|
username = "opdavies";
|
||||||
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
headless = false;
|
|
||||||
|
|
||||||
inherit
|
inherit
|
||||||
inputs
|
inputs
|
||||||
outputs
|
outputs
|
||||||
|
@ -85,7 +83,6 @@
|
||||||
|
|
||||||
nixedo = nixpkgs.lib.nixosSystem {
|
nixedo = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = specialArgs // {
|
specialArgs = specialArgs // {
|
||||||
headless = true;
|
|
||||||
hostname = "nixedo";
|
hostname = "nixedo";
|
||||||
stateVersion = "24.11";
|
stateVersion = "24.11";
|
||||||
};
|
};
|
||||||
|
@ -131,7 +128,6 @@
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
||||||
specialArgs = specialArgs // {
|
specialArgs = specialArgs // {
|
||||||
headless = true;
|
|
||||||
hostname = "PW05CH3L";
|
hostname = "PW05CH3L";
|
||||||
stateVersion = "22.11";
|
stateVersion = "22.11";
|
||||||
};
|
};
|
||||||
|
@ -148,10 +144,6 @@
|
||||||
hetznix = nixpkgs.lib.nixosSystem {
|
hetznix = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
|
||||||
specialArgs = specialArgs // {
|
|
||||||
headless = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
disko.nixosModules.disko
|
disko.nixosModules.disko
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
headless ? false,
|
|
||||||
inputs,
|
inputs,
|
||||||
outputs,
|
outputs,
|
||||||
system,
|
system,
|
||||||
|
@ -28,14 +27,9 @@ let
|
||||||
inherit (pkgs) lib;
|
inherit (pkgs) lib;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[
|
./home.nix
|
||||||
./home.nix
|
];
|
||||||
./modules
|
|
||||||
]
|
|
||||||
++ pkgs.lib.optionals (!headless) [
|
|
||||||
./desktop
|
|
||||||
];
|
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -68,19 +68,29 @@
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
abook
|
abook
|
||||||
|
acpi
|
||||||
|
arandr
|
||||||
backup-websites
|
backup-websites
|
||||||
|
brightnessctl
|
||||||
build-glove80
|
build-glove80
|
||||||
|
cpufrequtils
|
||||||
displayselect
|
displayselect
|
||||||
|
ffmpegthumbnailer
|
||||||
gscan2pdf
|
gscan2pdf
|
||||||
gtypist
|
gtypist
|
||||||
|
hunspellDicts.en-gb-large
|
||||||
isync
|
isync
|
||||||
kdePackages.okular
|
kdePackages.okular
|
||||||
|
libnotify
|
||||||
|
libreoffice
|
||||||
meslo-lg
|
meslo-lg
|
||||||
obs-studio
|
obs-studio
|
||||||
pam_gnupg
|
pam_gnupg
|
||||||
pamixer
|
pamixer
|
||||||
pavucontrol
|
pavucontrol
|
||||||
peek
|
peek
|
||||||
|
pmutils
|
||||||
|
shotwell
|
||||||
slack
|
slack
|
||||||
sxiv
|
sxiv
|
||||||
ttyper
|
ttyper
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{
|
{
|
||||||
headless,
|
|
||||||
hostname,
|
hostname,
|
||||||
inputs,
|
inputs,
|
||||||
outputs,
|
outputs,
|
||||||
|
@ -35,37 +34,22 @@
|
||||||
|
|
||||||
users.defaultUserShell = pkgs.zsh;
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages = with pkgs; [
|
||||||
with pkgs;
|
cryptsetup
|
||||||
[
|
fastfetch
|
||||||
cryptsetup
|
mermaid-cli
|
||||||
fastfetch
|
mkcert
|
||||||
mermaid-cli
|
passmenu-otp
|
||||||
mkcert
|
|
||||||
passmenu-otp
|
|
||||||
|
|
||||||
(pass.withExtensions (
|
(pass.withExtensions (
|
||||||
e: with e; [
|
e: with e; [
|
||||||
passExtensions.pass-audit
|
passExtensions.pass-audit
|
||||||
passExtensions.pass-import
|
passExtensions.pass-import
|
||||||
passExtensions.pass-otp
|
passExtensions.pass-otp
|
||||||
passExtensions.pass-update
|
passExtensions.pass-update
|
||||||
]
|
]
|
||||||
))
|
))
|
||||||
]
|
];
|
||||||
++ pkgs.lib.optionals (!headless) [
|
|
||||||
acpi
|
|
||||||
arandr
|
|
||||||
brightnessctl
|
|
||||||
cpufrequtils
|
|
||||||
libnotify
|
|
||||||
pmutils
|
|
||||||
ffmpegthumbnailer
|
|
||||||
hunspellDicts.en-gb-large
|
|
||||||
libreoffice
|
|
||||||
shotwell
|
|
||||||
vscode
|
|
||||||
];
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
@ -73,7 +57,6 @@
|
||||||
hostname
|
hostname
|
||||||
inputs
|
inputs
|
||||||
outputs
|
outputs
|
||||||
headless
|
|
||||||
self
|
self
|
||||||
system
|
system
|
||||||
username
|
username
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue