mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-25 06:19:10 +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 = [
|
||||
inputs.agenix.nixosModules.age
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.nix-ld.nixosModules.nix-ld
|
||||
];
|
||||
|
||||
# Bleeding edge, baybee!
|
||||
|
@ -1,7 +1,7 @@
|
||||
# This is where extra desktop goodies can be found.
|
||||
# As a note, this is not where you set the aesthetics of your graphical sessions.
|
||||
# That can be found in the `themes` module.
|
||||
{ inputs, config, options, lib, pkgs, ... }:
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
|
||||
let cfg = config.profiles.system;
|
||||
in {
|
||||
@ -25,7 +25,6 @@ in {
|
||||
};
|
||||
};
|
||||
|
||||
imports = [ inputs.nix-ld.nixosModules.nix-ld ];
|
||||
config = lib.mkIf cfg.enable (lib.mkMerge [
|
||||
({
|
||||
# Enable Flatpak for additional options for installing desktop applications.
|
||||
@ -46,6 +45,7 @@ in {
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
# Run unpatched binaries with these!
|
||||
programs.nix-ld.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
nix-alien
|
||||
nix-index
|
||||
|
Loading…
Reference in New Issue
Block a user