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 = { nixosConfigurations = {
cnix = lib.nixosSystem { cnix = lib.nixosSystem {
modules = [ ./hosts/cnix ]; modules = [
./hosts/cnix
solaar.nixosModules.default
];
specialArgs = { specialArgs = {
inherit inputs outputs; 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 inputs.home-manager.nixosModules.home-manager
../pkgs/fonts.nix ../pkgs/fonts.nix
../common ../common
../extra ../extra/steam
../extra/nix-ld
../extra/solaar
../services/cnix.nix ../services/cnix.nix
../hardware/cnix.nix ../hardware/cnix.nix
../locale/cnix.nix ../locale/cnix.nix
@@ -40,7 +42,6 @@ in
]; ];
home-manager.users.cnst = import ../../home/cnst/home.nix; home-manager.users.cnst = import ../../home/cnst/home.nix;
nix = nix =
let let
flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs; flakeInputs = lib.filterAttrs (_: lib.isType "flake") inputs;

View File

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