Change of named folders and fix configurations
@@ -14,6 +14,7 @@
|
|||||||
outputs =
|
outputs =
|
||||||
{
|
{
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
|
home-manager,
|
||||||
...
|
...
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
@@ -25,13 +26,19 @@
|
|||||||
overlays = import ./overlays { inherit inputs; };
|
overlays = import ./overlays { inherit inputs; };
|
||||||
|
|
||||||
apps = import ./modules/apps;
|
apps = import ./modules/apps;
|
||||||
|
home = import ./modules/home;
|
||||||
nixos = import ./modules/nixos;
|
nixos = import ./modules/nixos;
|
||||||
home-manager = import ./modules/home;
|
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
nixos = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [ ./nixos/configuration.nix ];
|
modules = [
|
||||||
|
./nixos/configuration.nix
|
||||||
|
]
|
||||||
|
++ [
|
||||||
|
home-manager.nixosModules.home-manager
|
||||||
|
./home/configuration.nix
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,27 +0,0 @@
|
|||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.within.zed;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
options.within.zed = {
|
|
||||||
enable = mkEnableOption "System zed service";
|
|
||||||
};
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
|
|
||||||
# Nix languages parser
|
|
||||||
nil
|
|
||||||
nixd
|
|
||||||
|
|
||||||
# Zed Editor
|
|
||||||
zed-editor
|
|
||||||
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
{ inputs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home-manager.useUserPackages = true;
|
||||||
|
home-manager.overwriteBackup = true;
|
||||||
|
home-manager.backupFileExtension = "bak";
|
||||||
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
./home.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -7,7 +7,6 @@
|
|||||||
./configurations/gnome.nix
|
./configurations/gnome.nix
|
||||||
./configurations/firefox.nix
|
./configurations/firefox.nix
|
||||||
./configurations/ghostty.nix
|
./configurations/ghostty.nix
|
||||||
./configurations/zed.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
|
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 99 KiB |
@@ -10,11 +10,10 @@
|
|||||||
|
|
||||||
# Hardware
|
# Hardware
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./configurations/kernel.nix
|
./parts/kernel.nix
|
||||||
|
|
||||||
# Configurations
|
# Configurations
|
||||||
./configurations/users.nix
|
./parts/users.nix
|
||||||
./configurations/home-manager.nix
|
|
||||||
|
|
||||||
# Modules
|
# Modules
|
||||||
inputs.self.nixos
|
inputs.self.nixos
|
||||||
|
|||||||
@@ -1,12 +0,0 @@
|
|||||||
{ inputs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
|
||||||
|
|
||||||
home-manager = {
|
|
||||||
extraSpecialArgs = { inherit inputs; };
|
|
||||||
users = {
|
|
||||||
alistreaza = import ../../home-manager/home.nix;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||