Split home-manager and system config
This commit is contained in:
parent
d70d2bdeec
commit
8b87b06972
8 changed files with 30 additions and 36 deletions
|
|
@ -1,15 +1,23 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
<home-manager/nixos>
|
||||
./hardware-configuration.nix
|
||||
../../configs/system.nix
|
||||
../../configs/user.nix
|
||||
../../configs/network.nix
|
||||
../../configs/virtualisation.nix
|
||||
../../configs/dev.nix
|
||||
../../configs/games.nix
|
||||
];
|
||||
|
||||
home-manager.users.froidmpa = {pkgs, config, ...}: {
|
||||
imports = [
|
||||
../../configs/home-cli.nix
|
||||
../../configs/home-xmonad.nix
|
||||
../../configs/home-gui.nix
|
||||
../../configs/home-dev.nix
|
||||
];
|
||||
};
|
||||
|
||||
fileSystems."/home/froidmpa/Nextcloud" = {
|
||||
device = "/dev/disk/by-uuid/a4ba8b21-ea33-4487-b6f6-9bb7470a0acb";
|
||||
fsType = "ext4";
|
||||
|
|
@ -36,4 +44,5 @@
|
|||
services.sshd.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
system.stateVersion = "19.09";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue