mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 12:19:12 +00:00
profiles/system: refactor to remove inputs
attr
This is to reduce burden in case I want to support importing my config through traditional channels.
This commit is contained in:
parent
2572ccae12
commit
4708d7acc2
@ -115,6 +115,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
inputs.agenix.nixosModules.age
|
inputs.agenix.nixosModules.age
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
inputs.nix-ld.nixosModules.nix-ld
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bleeding edge, baybee!
|
# Bleeding edge, baybee!
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# This is where extra desktop goodies can be found.
|
# This is where extra desktop goodies can be found.
|
||||||
# As a note, this is not where you set the aesthetics of your graphical sessions.
|
# As a note, this is not where you set the aesthetics of your graphical sessions.
|
||||||
# That can be found in the `themes` module.
|
# That can be found in the `themes` module.
|
||||||
{ inputs, config, options, lib, pkgs, ... }:
|
{ config, options, lib, pkgs, ... }:
|
||||||
|
|
||||||
let cfg = config.profiles.system;
|
let cfg = config.profiles.system;
|
||||||
in {
|
in {
|
||||||
@ -25,7 +25,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [ inputs.nix-ld.nixosModules.nix-ld ];
|
|
||||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||||
({
|
({
|
||||||
# Enable Flatpak for additional options for installing desktop applications.
|
# Enable Flatpak for additional options for installing desktop applications.
|
||||||
@ -46,6 +45,7 @@ in {
|
|||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
# Run unpatched binaries with these!
|
# Run unpatched binaries with these!
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nix-alien
|
nix-alien
|
||||||
nix-index
|
nix-index
|
||||||
|
Loading…
Reference in New Issue
Block a user