feat: rearrange nix modules
This commit is contained in:
parent
572d1d43c0
commit
89f6ab94b4
17 changed files with 28 additions and 28 deletions
|
@ -1,8 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable xmonad
|
||||
services.xserver.displayManager.lightdm.enable = true;
|
||||
services.xserver.windowManager.default = "xmonad";
|
||||
services.xserver.windowManager.xmonad.enable = true;
|
||||
}
|
9
desktop/default.nix
Normal file
9
desktop/default.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./x11.nix
|
||||
./gtk.nix
|
||||
./gnome.nix
|
||||
];
|
||||
}
|
|
@ -1,6 +1,10 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./planck.nix
|
||||
];
|
||||
|
||||
boot.initrd.luks.devices = {
|
||||
root = {
|
||||
device = "/dev/disk/by-partlabel/nixos";
|
15
home-pc.nix
15
home-pc.nix
|
@ -4,16 +4,11 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
<home-manager/nixos>
|
||||
./common/base-hardware.nix
|
||||
./common/gpu-nvidia.nix
|
||||
./common/ledger.nix
|
||||
./common/planck.nix
|
||||
./common/system.nix
|
||||
./common/nix.nix
|
||||
./common/i18n.nix
|
||||
./common/x11.nix
|
||||
./common/gtk.nix
|
||||
./common/gnome.nix
|
||||
./hardware/base.nix
|
||||
./hardware/gpu-nvidia.nix
|
||||
./hardware/ledger.nix
|
||||
./system
|
||||
./desktop
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./i18n.nix
|
||||
./nix.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
curl
|
15
work-pc.nix
15
work-pc.nix
|
@ -4,16 +4,11 @@
|
|||
imports = [
|
||||
./hardware-configuration.nix
|
||||
<home-manager/nixos>
|
||||
./common/base-hardware.nix
|
||||
./common/gpu-bumblebee.nix
|
||||
./common/planck.nix
|
||||
./common/system.nix
|
||||
./common/nix.nix
|
||||
./common/i18n.nix
|
||||
./common/x11.nix
|
||||
./common/gtk.nix
|
||||
./common/gnome.nix
|
||||
./common/docker.nix
|
||||
./hardware/base.nix
|
||||
./hardware/gpu-bumblebee.nix
|
||||
./system
|
||||
./desktop
|
||||
./virtualisaiton/docker.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue