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