mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-05-18 18:36:05 -07:00
refactor default configs
This commit is contained in:
parent
5edfff621a
commit
debd040e83
@ -3,10 +3,10 @@
|
||||
inherit system;
|
||||
specialArgs = { inherit user inputs; };
|
||||
modules = [
|
||||
../default
|
||||
../../modules
|
||||
../default/physical/configuration.nix
|
||||
./configuration.nix
|
||||
./hardware.nix
|
||||
../../modules
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -1,4 +0,0 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [ ./git.nix ./backup.nix ./configuration.nix ./home-configuration.nix ];
|
||||
}
|
@ -1,5 +1,11 @@
|
||||
{ config, pkgs, user, lib, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
../git.nix
|
||||
../backup.nix
|
||||
./home-configuration.nix
|
||||
];
|
||||
|
||||
nix = {
|
||||
package = pkgs.nixFlakes;
|
||||
extraOptions = "experimental-features = nix-command flakes";
|
||||
@ -15,7 +21,7 @@
|
||||
# Add non-free packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.config.permittedInsecurePackages = [ "electron-25.9.0" "openssl-1.1.1w" ];
|
||||
nixpkgs.overlays = import ../../lib/overlays.nix;
|
||||
nixpkgs.overlays = import ../../../lib/overlays.nix;
|
||||
|
||||
# Hardware options
|
||||
hardware.bluetooth.enable = true;
|
@ -3,10 +3,10 @@
|
||||
inherit system;
|
||||
specialArgs = { inherit user inputs; };
|
||||
modules = [
|
||||
../default
|
||||
../../modules
|
||||
../default/physical/configuration.nix
|
||||
./configuration.nix
|
||||
./hardware.nix
|
||||
../../modules
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -3,10 +3,10 @@
|
||||
inherit system;
|
||||
specialArgs = { inherit user inputs; };
|
||||
modules = [
|
||||
../default
|
||||
../../modules
|
||||
../default/physical/configuration.nix
|
||||
./configuration.nix
|
||||
./hardware.nix
|
||||
../../modules
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
@ -3,10 +3,10 @@
|
||||
inherit system;
|
||||
specialArgs = { inherit user inputs; };
|
||||
modules = [
|
||||
../default
|
||||
../../modules
|
||||
../default/physical/configuration.nix
|
||||
./configuration.nix
|
||||
./hardware.nix
|
||||
../../modules
|
||||
agenix.nixosModules.default
|
||||
home-manager.nixosModules.home-manager {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user