server config builds now
This commit is contained in:
@@ -102,7 +102,7 @@
|
|||||||
xenon = nixpkgs.lib.nixosSystem {
|
xenon = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
host = "xenon";
|
host = "xenon";
|
||||||
inherit self inputs username;
|
inherit self inputs scheme username;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/server/config.nix
|
./hosts/server/config.nix
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
system.stateVersion = "24.05";
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
username,
|
username,
|
||||||
wallpaper,
|
wallpaper,
|
||||||
lib,
|
lib,
|
||||||
scheme,
|
scheme ? {},
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
@@ -22,7 +22,6 @@ in {
|
|||||||
${username} = {
|
${username} = {
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
imports = [
|
imports = [
|
||||||
inputs.spicetify-nix.homeManagerModules.default
|
|
||||||
inputs.self.outputs.homeManagerModules.default
|
inputs.self.outputs.homeManagerModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{pkgs, config, ...}: {
|
{pkgs, config, ...}: {
|
||||||
system.stateVersion = "24.05";
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./home.nix
|
./home.nix
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
username,
|
username,
|
||||||
wallpaper,
|
wallpaper,
|
||||||
lib,
|
lib,
|
||||||
scheme,
|
scheme ? {},
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
@@ -22,7 +22,6 @@ in {
|
|||||||
${username} = {
|
${username} = {
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
imports = [
|
imports = [
|
||||||
inputs.spicetify-nix.homeManagerModules.default
|
|
||||||
inputs.self.outputs.homeManagerModules.default
|
inputs.self.outputs.homeManagerModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,7 @@
|
|||||||
self,
|
self,
|
||||||
inputs,
|
inputs,
|
||||||
lib,
|
lib,
|
||||||
|
scheme,
|
||||||
username,
|
username,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
@@ -16,7 +17,7 @@ in {
|
|||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
extraSpecialArgs = { inherit self inputs host username nur; };
|
extraSpecialArgs = { inherit self inputs scheme host username nur; };
|
||||||
users = {
|
users = {
|
||||||
${username} = {
|
${username} = {
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{lib, config, pkgs, inputs, scheme, ... }: let
|
{lib, config, pkgs, inputs, scheme ? {}, ... }: let
|
||||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||||
in {
|
in {
|
||||||
|
imports = [inputs.spicetify-nix.homeManagerModules.default];
|
||||||
options = {
|
options = {
|
||||||
spicetifyConfig.enable = lib.mkEnableOption "enable my spicetify options";
|
spicetifyConfig.enable = lib.mkEnableOption "enable my spicetify options";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{lib, config, pkgs, scheme, wallpaper, ... }: {
|
{lib, config, pkgs, scheme ? {}, wallpaper, ... }: {
|
||||||
options = {
|
options = {
|
||||||
stylixHomeConfig.enable = lib.mkEnableOption "enables my stylix Home-Manager options";
|
stylixHomeConfig.enable = lib.mkEnableOption "enables my stylix Home-Manager options";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{pkgs, scheme, host, lib, config, ...}:
|
{pkgs, scheme ? {}, host, lib, config, ...}:
|
||||||
|
|
||||||
let
|
let
|
||||||
desktop = host == "oganesson";
|
desktop = host == "oganesson";
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{lib, config, pkgs, scheme, ... }: {
|
{lib, config, pkgs, scheme ? {}, ... }: {
|
||||||
options = {
|
options = {
|
||||||
kittyConfig.enable = lib.mkEnableOption "enables my kitty configuration";
|
kittyConfig.enable = lib.mkEnableOption "enables my kitty configuration";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
inputs,
|
inputs,
|
||||||
scheme,
|
scheme ? {},
|
||||||
wallpaper,
|
wallpaper,
|
||||||
username,
|
username,
|
||||||
host,
|
host,
|
||||||
|
|||||||
@@ -3,6 +3,8 @@
|
|||||||
nixSettings.enable = lib.mkEnableOption "enables my nixos settings";
|
nixSettings.enable = lib.mkEnableOption "enables my nixos settings";
|
||||||
};
|
};
|
||||||
config = lib.mkIf config.nixSettings.enable {
|
config = lib.mkIf config.nixSettings.enable {
|
||||||
|
system.stateVersion = "24.05";
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix = {
|
nix = {
|
||||||
settings = {
|
settings = {
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
scheme,
|
scheme ? {},
|
||||||
wallpaper,
|
wallpaper,
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
scheme,
|
scheme ? {},
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
|
|||||||
Reference in New Issue
Block a user