nix, home-manager: move common config out of flake.nix
This commit is contained in:
parent
a47d1f47e8
commit
e713fe3b2c
4 changed files with 21 additions and 23 deletions
|
@ -6,6 +6,7 @@
|
|||
./environment.nix
|
||||
./home-manager.nix
|
||||
./nginx.nix
|
||||
./nix.nix
|
||||
./openssh.nix
|
||||
./security.nix
|
||||
./steam.nix
|
||||
|
|
7
common/nix.nix
Normal file
7
common/nix.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
nix.settings.experimental-features = "nix-command flakes";
|
||||
nix.nixPath = [ "nixpkgs=flake:nixpkgs" ];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, inputs, ... }:
|
||||
|
||||
let keys = import ../../keys.nix;
|
||||
in {
|
||||
|
@ -11,4 +11,6 @@ in {
|
|||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
home-manager.users."qenya" = inputs.self.homeManagerModules."qenya";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue