restructuring6

This commit is contained in:
cnst
2024-06-24 21:17:44 +02:00
parent d1b3c635c8
commit e3adcf20e6
7 changed files with 24 additions and 12 deletions

View File

@@ -57,7 +57,10 @@
nixosConfigurations = {
cnix = lib.nixosSystem {
modules = [ ./hosts/cnix ];
modules = [
./hosts/cnix
solaar.nixosModules.default
];
specialArgs = {
inherit inputs outputs;
};

11
home/modules/default.nix Normal file
View File

@@ -0,0 +1,11 @@
{
imports = [
./firefox
./git
./gtk
./hypr
./neovim
./shell
./xdg
];
}

View File

@@ -32,7 +32,9 @@ in
inputs.home-manager.nixosModules.home-manager
../pkgs/fonts.nix
../common
../extra
../extra/steam
../extra/nix-ld
../extra/solaar
../services/cnix.nix
../hardware/cnix.nix
../locale/cnix.nix
@@ -40,7 +42,6 @@ in
];
home-manager.users.cnst = import ../../home/cnst/home.nix;
nix =
let
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;

View File

@@ -9,7 +9,6 @@
imports = [
inputs.home-manager.nixosModules.home-manager
./adb.nix
./hyprland.nix
./neovim.nix
./zsh.nix
];
@@ -25,7 +24,11 @@
allowUnfree = true;
};
};
console.useXkbConfig = true;
environment = {
localBinInPath = true;
systemPackages = [
# Dev
pkgs.git

View File

@@ -1,6 +0,0 @@
{
hyprland = {
enable = true;
xwayland.enable = true;
};
}

View File

@@ -1,5 +1,5 @@
{
neovim = {
programs.neovim = {
enable = true;
defaultEditor = true;
};

View File

@@ -1 +1 @@
{programs.solaar.enable = true;}
{ programs.solaar.enable = true; }