diff --git a/README.md b/README.md index 998a222f..adc0b251 100644 --- a/README.md +++ b/README.md @@ -4,8 +4,8 @@ TODO: add directory structure info and enforce it - every root folder in the repo represents a flake output except inputs - every root folder only has a `default.nix` and subfolders for each of its attrs - - in a subfolder, there should always be a `default.nix`. if the - `config` folders? only nix code folder structure? + - in a subfolder, there should always be a `default.nix` + - if there is non nix code, it will be in a `config` folder - redo docs ## AGS diff --git a/common/default.nix b/common/default.nix index d224870a..b53cc26e 100644 --- a/common/default.nix +++ b/common/default.nix @@ -115,7 +115,6 @@ in { home-manager.users = let inherit (config.vars) mainUser; - mainHmCfg = config.home-manager.users.${mainUser}; default = { imports = [ @@ -137,23 +136,11 @@ in { shellAliases.nh = "env -u FLAKE nh"; }; } - - ./home - ./home/trash-d - - self.homeManagerModules.neovim ]; home.stateVersion = config.system.stateVersion; }; in { - root = - default - // { - programs.neovim = { - inherit (mainHmCfg.programs.neovim) enable enableIde user; - }; - }; greeter = mkIf (config.services.greetd.enable) default; ${mainUser} = default; }; diff --git a/common/home/bash/default.nix b/common/home/bash/default.nix deleted file mode 100644 index 299eb089..00000000 --- a/common/home/bash/default.nix +++ /dev/null @@ -1,143 +0,0 @@ -{ - config, - lib, - ... -}: let - inherit (lib) concatStrings fileContents; - inherit (config.vars) promptColors; -in { - imports = [./programs.nix]; - - programs = { - starship = { - enable = true; - enableBashIntegration = true; - - settings = { - format = concatStrings [ - "╭╴" - "[](fg:${promptColors.firstColor})" - "[  ](bg:${promptColors.firstColor} fg:#090c0c)" - "[](bg:${promptColors.secondColor} fg:${promptColors.firstColor})" - "$username$hostname" - "[](fg:${promptColors.secondColor} bg:${promptColors.thirdColor})" - "$directory" - "[](fg:${promptColors.thirdColor} bg:${promptColors.fourthColor})" - "$git_branch" - "[](fg:${promptColors.fourthColor})$shlvl$nix_shell" - "\n╰╴$character" - ]; - - username = { - show_always = true; - style_user = "fg:${promptColors.textColor} bg:${promptColors.secondColor}"; - style_root = "fg:red bg:${promptColors.secondColor} blink"; - format = "[ $user]($style)"; - }; - - hostname = { - ssh_only = false; - style = "fg:${promptColors.textColor} bg:${promptColors.secondColor}"; - format = "[@$hostname ]($style)"; - }; - - directory = { - style = "fg:${promptColors.firstColor} bg:${promptColors.thirdColor}"; - format = "[ $path ]($style)"; - truncate_to_repo = false; - truncation_length = 0; - - substitutions = { - "Documents" = "󰈙 "; - "Downloads" = " "; - "Music" = " "; - "Pictures" = " "; - }; - }; - - git_branch = { - style = "fg:${promptColors.secondColor} bg:${promptColors.fourthColor}"; - symbol = ""; - format = "[ $symbol $branch ]($style)"; - }; - - shlvl = { - disabled = false; - repeat = true; - symbol = "󰔳 "; - format = "[ $symbol]($style)"; - threshold = 1; - }; - - nix_shell = { - symbol = "❄️ "; - format = "[ $symbol]($style)"; - }; - - character = { - success_symbol = "[\\$](bold green)"; - error_symbol = "[\\$](bold red)"; - }; - }; - }; - - bash = { - enable = true; - enableCompletion = true; - - historyFile = "\$HOME/.cache/.bash_history"; - historyFileSize = 100000; # default - historySize = 10000; # default - historyControl = [ - "erasedups" - "ignorespace" - ]; - historyIgnore = [ - "ls" - "exit" - "logout" - ]; - - shellOptions = [ - "histappend" - "checkwinsize" - "extglob" - "globstar" - "checkjobs" - "autocd" - "cdspell" - "dirspell" - "dotglob" - ]; - - shellAliases = { - # Add whitespace after, to allow - # sudo to inherit all other aliases - sudo = "sudo "; - - ls = "ls -lah --color=auto"; - tree = "tree -a -I node_modules"; - cp = "cp -r"; - }; - - #profileExtra = '' - #''; - bashrcExtra = - # bash - '' - # Check if shell is interactive - [[ $- == *i* ]] || return 0 - - ${fileContents ./config/dracula/less.sh} - ${fileContents ./config/dracula/fzf.sh} - - ${fileContents ./config/colorgrid.sh} - ${fileContents ./config/bashrc} - ''; - #initExtra = '' - #''; - #logoutExtra = '' - #''; - }; - }; -} diff --git a/common/home/default.nix b/common/home/default.nix deleted file mode 100644 index 59556063..00000000 --- a/common/home/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{...}: { - imports = [ - ./bash - ./direnv - ./git - ./nix-index - ]; -} diff --git a/common/home/direnv/default.nix b/common/home/direnv/default.nix deleted file mode 100644 index 84f63107..00000000 --- a/common/home/direnv/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{pkgs, ...}: { - programs.direnv = { - enable = true; - enableBashIntegration = true; - - nix-direnv = { - enable = true; - package = pkgs.nix-direnv; - }; - }; -} diff --git a/common/home/nix-index/default.nix b/common/home/nix-index/default.nix deleted file mode 100644 index c8d1e1b8..00000000 --- a/common/home/nix-index/default.nix +++ /dev/null @@ -1,11 +0,0 @@ -{nix-index-db, ...}: { - imports = [nix-index-db.hmModules.nix-index]; - - programs = { - nix-index-database.comma.enable = true; - nix-index = { - enable = true; - enableBashIntegration = true; - }; - }; -} diff --git a/common/home/trash-d/default.nix b/common/home/trash-d/default.nix deleted file mode 100644 index f94a8cca..00000000 --- a/common/home/trash-d/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ - pkgs, - self, - ... -}: { - home.packages = [self.packages.${pkgs.system}.trash-d]; - - programs.bash.shellAliases.rm = "trash"; -} diff --git a/common/vars/default.nix b/common/vars/default.nix index df0099b5..3e91b2ee 100644 --- a/common/vars/default.nix +++ b/common/vars/default.nix @@ -13,32 +13,6 @@ in { Username that was defined at the initial setup process ''; }; - - promptMainColor = mkOption { - type = types.enum (import ./prompt-schemes.nix {}); - default = "purple"; - }; - - promptColors = mkOption { - description = '' - Colors used in starship prompt - ''; - - default = import ./prompt-schemes.nix {color = cfg.promptMainColor;}; - - readOnly = true; - type = types.submodule { - options = let - inherit (types) str; - in { - textColor = mkOption {type = str;}; - firstColor = mkOption {type = str;}; - secondColor = mkOption {type = str;}; - thirdColor = mkOption {type = str;}; - fourthColor = mkOption {type = str;}; - }; - }; - }; }; config = { diff --git a/devices/android/default.nix b/devices/android/default.nix index cd1181a5..3072f43f 100644 --- a/devices/android/default.nix +++ b/devices/android/default.nix @@ -4,6 +4,8 @@ pkgs, ... }: { + imports = [./nix-on-droid.nix]; + vars.mainUser = "nix-on-droid"; environment.variables.FLAKE = "/data/data/com.termux.nix/files/home/.nix"; diff --git a/common/nix-on-droid.nix b/devices/android/nix-on-droid.nix similarity index 86% rename from common/nix-on-droid.nix rename to devices/android/nix-on-droid.nix index ef73b871..61f66977 100644 --- a/common/nix-on-droid.nix +++ b/devices/android/nix-on-droid.nix @@ -5,9 +5,12 @@ ... }: { imports = [ - ./vars - ./modules/global.nix - ./packages.nix + ../../common/vars + ../../common/modules/global.nix + ../../common/packages.nix + + self.nixosModules.tmux + {programs.tmux.enableCustomConf = true;} ]; nix = { @@ -41,8 +44,11 @@ }; } - ./home self.homeManagerModules.neovim + {programs.neovim.enable = true;} + + self.homeManagerModules.shell + {programs.bash.enable = true;} { programs.bash.sessionVariables = { diff --git a/devices/bbsteamie/default.nix b/devices/bbsteamie/default.nix index 31927050..6b747336 100644 --- a/devices/bbsteamie/default.nix +++ b/devices/bbsteamie/default.nix @@ -24,10 +24,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "mariah"; - promptMainColor = "pink"; - }; + vars.mainUser = "mariah"; users.users.${mainUser} = { isNormalUser = true; @@ -58,4 +55,17 @@ in { }; services.kmscon.enable = true; + + home-manager.users.${mainUser} = { + imports = [ + self.homeManagerModules.shell + ]; + + programs = { + bash = { + enable = true; + promptMainColor = "pink"; + }; + }; + }; } diff --git a/devices/binto/default.nix b/devices/binto/default.nix index 7717b97b..c3498650 100644 --- a/devices/binto/default.nix +++ b/devices/binto/default.nix @@ -25,10 +25,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "matt"; - promptMainColor = "purple"; - }; + vars.mainUser = "matt"; users.users.${mainUser} = { isNormalUser = true; @@ -79,12 +76,21 @@ in { home-manager.users.${mainUser} = { imports = [ self.homeManagerModules.firefox + self.homeManagerModules.neovim + self.homeManagerModules.shell ]; - programs.neovim = { - enable = true; - enableIde = true; - user = mainUser; + programs = { + bash = { + enable = true; + promptMainColor = "purple"; + }; + + neovim = { + enable = true; + enableIde = true; + user = mainUser; + }; }; }; } diff --git a/devices/cluster/default.nix b/devices/cluster/default.nix index 351982c6..0c8aaf98 100644 --- a/devices/cluster/default.nix +++ b/devices/cluster/default.nix @@ -25,15 +25,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "matt"; - promptMainColor = - if deviceName == "thingone" - then "green" - else if deviceName == "thingtwo" - then "red" - else "purple"; - }; + vars.mainUser = "matt"; users.users.${mainUser} = { isNormalUser = true; @@ -71,12 +63,27 @@ in { services.kmscon.enable = true; home-manager.users.${mainUser} = { - imports = []; + imports = [ + self.homeManagerModules.neovim + self.homeManagerModules.shell + ]; - programs.neovim = { - enable = true; - enableIde = true; - user = mainUser; + programs = { + bash = { + enable = true; + promptMainColor = + if deviceName == "thingone" + then "green" + else if deviceName == "thingtwo" + then "red" + else "purple"; + }; + + neovim = { + enable = true; + enableIde = true; + user = mainUser; + }; }; }; } diff --git a/devices/homie/default.nix b/devices/homie/default.nix index 5ca73ff1..5a805bd9 100644 --- a/devices/homie/default.nix +++ b/devices/homie/default.nix @@ -24,10 +24,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "matt"; - promptMainColor = "yellow"; - }; + vars.mainUser = "matt"; users.users.${mainUser} = { isNormalUser = true; @@ -58,12 +55,22 @@ in { services.kmscon.enable = true; home-manager.users.${mainUser} = { - imports = []; + imports = [ + self.homeManagerModules.neovim + self.homeManagerModules.shell + ]; - programs.neovim = { - enable = true; - enableIde = true; - user = mainUser; + programs = { + bash = { + enable = true; + promptMainColor = "yellow"; + }; + + neovim = { + enable = true; + enableIde = true; + user = mainUser; + }; }; }; } diff --git a/devices/nos/default.nix b/devices/nos/default.nix index 84e0ea84..c0d936f8 100644 --- a/devices/nos/default.nix +++ b/devices/nos/default.nix @@ -24,10 +24,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "matt"; - promptMainColor = "orange"; - }; + vars.mainUser = "matt"; users.users.${mainUser} = { isNormalUser = true; @@ -58,12 +55,22 @@ in { services.kmscon.enable = true; home-manager.users.${mainUser} = { - imports = []; + imports = [ + self.homeManagerModules.neovim + self.homeManagerModules.shell + ]; - programs.neovim = { - enable = true; - enableIde = true; - user = mainUser; + programs = { + bash = { + enable = true; + promptMainColor = "orange"; + }; + + neovim = { + enable = true; + enableIde = true; + user = mainUser; + }; }; }; } diff --git a/devices/servivi/default.nix b/devices/servivi/default.nix index fd0467f7..e86cdac0 100644 --- a/devices/servivi/default.nix +++ b/devices/servivi/default.nix @@ -24,10 +24,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "matt"; - promptMainColor = "blue"; - }; + vars.mainUser = "matt"; users.users = { ${mainUser} = { @@ -72,12 +69,22 @@ in { services.kmscon.enable = true; home-manager.users.${mainUser} = { - imports = []; + imports = [ + self.homeManagerModules.neovim + self.homeManagerModules.shell + ]; - programs.neovim = { - enable = true; - enableIde = true; - user = mainUser; + programs = { + bash = { + enable = true; + promptMainColor = "blue"; + }; + + neovim = { + enable = true; + enableIde = true; + user = mainUser; + }; }; }; } diff --git a/devices/wim/default.nix b/devices/wim/default.nix index 13d3afd7..fa6f5409 100644 --- a/devices/wim/default.nix +++ b/devices/wim/default.nix @@ -28,10 +28,7 @@ in { # ------------------------------------------------ # User Settings # ------------------------------------------------ - vars = { - mainUser = "matt"; - promptMainColor = "purple"; - }; + vars.mainUser = "matt"; users.users.${mainUser} = { isNormalUser = true; @@ -98,12 +95,21 @@ in { home-manager.users.${mainUser} = { imports = [ self.homeManagerModules.firefox + self.homeManagerModules.neovim + self.homeManagerModules.shell ]; - programs.neovim = { - enable = true; - enableIde = true; - user = mainUser; + programs = { + bash = { + enable = true; + promptMainColor = "purple"; + }; + + neovim = { + enable = true; + enableIde = true; + user = mainUser; + }; }; }; } diff --git a/homeManagerModules/default.nix b/homeManagerModules/default.nix index 50df3492..3a1ccb94 100644 --- a/homeManagerModules/default.nix +++ b/homeManagerModules/default.nix @@ -1,4 +1,5 @@ self: { firefox = import ./firefox self; neovim = import ./neovim self; + shell = import ./shell self; } diff --git a/common/home/bash/config/bashrc b/homeManagerModules/shell/config/bashrc similarity index 100% rename from common/home/bash/config/bashrc rename to homeManagerModules/shell/config/bashrc diff --git a/common/home/bash/config/colorgrid.sh b/homeManagerModules/shell/config/colorgrid.sh similarity index 100% rename from common/home/bash/config/colorgrid.sh rename to homeManagerModules/shell/config/colorgrid.sh diff --git a/common/home/bash/config/dracula/fzf.sh b/homeManagerModules/shell/config/dracula/fzf.sh similarity index 100% rename from common/home/bash/config/dracula/fzf.sh rename to homeManagerModules/shell/config/dracula/fzf.sh diff --git a/common/home/bash/config/dracula/less.sh b/homeManagerModules/shell/config/dracula/less.sh similarity index 100% rename from common/home/bash/config/dracula/less.sh rename to homeManagerModules/shell/config/dracula/less.sh diff --git a/homeManagerModules/shell/default.nix b/homeManagerModules/shell/default.nix new file mode 100644 index 00000000..57b5b3c3 --- /dev/null +++ b/homeManagerModules/shell/default.nix @@ -0,0 +1,108 @@ +self: { + config, + lib, + ... +}: let + inherit (lib) fileContents mkIf mkOption types; + + cfg = config.programs.bash; +in { + imports = [ + ./starship + (import ./git self) + (import ./misc self) + (import ./nix-tools self) + (import ./trash self) + ]; + + options.programs.bash = { + promptMainColor = mkOption { + type = types.enum (import ./prompt-schemes.nix {}); + default = "purple"; + }; + + promptColors = mkOption { + description = '' + Colors used in starship prompt + ''; + + default = import ./prompt-schemes.nix {color = cfg.promptMainColor;}; + + readOnly = true; + type = types.submodule { + options = let + inherit (types) str; + in { + textColor = mkOption {type = str;}; + firstColor = mkOption {type = str;}; + secondColor = mkOption {type = str;}; + thirdColor = mkOption {type = str;}; + fourthColor = mkOption {type = str;}; + }; + }; + }; + }; + + config = mkIf cfg.enable { + programs.bash = { + enableCompletion = true; + + historyFile = "\$HOME/.cache/.bash_history"; + historyFileSize = 100000; # default + historySize = 10000; # default + historyControl = [ + "erasedups" + "ignorespace" + ]; + historyIgnore = [ + "ls" + "exit" + "logout" + ]; + + shellOptions = [ + "histappend" + "checkwinsize" + "extglob" + "globstar" + "checkjobs" + "autocd" + "cdspell" + "dirspell" + "dotglob" + ]; + + shellAliases = { + # Add whitespace after, to allow + # sudo to inherit all other aliases + sudo = "sudo "; + + ls = "ls -lah --color=auto"; + tree = "tree -a -I node_modules"; + cp = "cp -r"; + }; + + #profileExtra = '' + #''; + bashrcExtra = + # bash + '' + # Check if shell is interactive + [[ $- == *i* ]] || return 0 + + ${fileContents ./config/dracula/less.sh} + ${fileContents ./config/dracula/fzf.sh} + + ${fileContents ./config/colorgrid.sh} + ${fileContents ./config/bashrc} + ''; + #initExtra = '' + #''; + #logoutExtra = '' + #''; + }; + }; + + # For accurate stack trace + _file = ./default.nix; +} diff --git a/common/home/git/default.nix b/homeManagerModules/shell/git/default.nix similarity index 81% rename from common/home/git/default.nix rename to homeManagerModules/shell/git/default.nix index ff25b551..9723111c 100644 --- a/common/home/git/default.nix +++ b/homeManagerModules/shell/git/default.nix @@ -1,15 +1,20 @@ -{ +self: { + config, + lib, pkgs, - self, ... }: let + inherit (lib) mkIf; + + cfg = config.programs.bash; + mkRemoteConf = remote: email: name: { condition = "hasconfig:remote.*.url:${remote}:*/**"; contents.user = {inherit email name;}; }; mkDefaultRemote = remote: mkRemoteConf remote "matt@nelim.org" "matt1432"; in { - programs = { + config.programs = mkIf cfg.enable { git = { enable = true; package = pkgs.gitFull; @@ -59,20 +64,6 @@ in { }; }; - home.packages = [ - (pkgs.writeShellApplication { - name = "chore"; - runtimeInputs = [pkgs.git]; - - text = '' - DIR=''${1:-"$FLAKE"} - - cd "$DIR" || exit 1 - - git add flake.lock - git commit -m 'chore: update flake.lock' - git push - ''; - }) - ]; + # For accurate stack trace + _file = ./default.nix; } diff --git a/common/home/bash/programs.nix b/homeManagerModules/shell/misc/default.nix similarity index 84% rename from common/home/bash/programs.nix rename to homeManagerModules/shell/misc/default.nix index 07795f56..28c7603b 100644 --- a/common/home/bash/programs.nix +++ b/homeManagerModules/shell/misc/default.nix @@ -1,10 +1,14 @@ -{ - pkgs, +self: { config, - self, + lib, + pkgs, ... -}: { - programs = { +}: let + inherit (lib) mkIf; + + cfg = config.programs.bash; +in { + config.programs = mkIf cfg.enable { fzf = { enable = true; enableBashIntegration = true; @@ -51,4 +55,7 @@ }; }; }; + + # For accurate stack trace + _file = ./default.nix; } diff --git a/homeManagerModules/shell/nix-tools/default.nix b/homeManagerModules/shell/nix-tools/default.nix new file mode 100644 index 00000000..bbb1d956 --- /dev/null +++ b/homeManagerModules/shell/nix-tools/default.nix @@ -0,0 +1,35 @@ +self: { + config, + lib, + pkgs, + ... +}: let + inherit (lib) mkIf; + inherit (self.inputs) nix-index-db; + + cfg = config.programs.bash; +in { + imports = [nix-index-db.hmModules.nix-index]; + + config.programs = mkIf cfg.enable { + direnv = { + enable = true; + enableBashIntegration = true; + + nix-direnv = { + enable = true; + package = pkgs.nix-direnv; + }; + }; + + nix-index-database.comma.enable = true; + + nix-index = { + enable = true; + enableBashIntegration = true; + }; + }; + + # For accurate stack trace + _file = ./default.nix; +} diff --git a/common/vars/prompt-schemes.nix b/homeManagerModules/shell/prompt-schemes.nix similarity index 100% rename from common/vars/prompt-schemes.nix rename to homeManagerModules/shell/prompt-schemes.nix diff --git a/homeManagerModules/shell/starship/default.nix b/homeManagerModules/shell/starship/default.nix new file mode 100644 index 00000000..82eea817 --- /dev/null +++ b/homeManagerModules/shell/starship/default.nix @@ -0,0 +1,81 @@ +{ + config, + lib, + ... +}: let + inherit (lib) concatStrings mkIf; + + cfg = config.programs.bash; +in { + programs.starship = mkIf cfg.enable { + enable = true; + enableBashIntegration = true; + + settings = { + format = concatStrings [ + "╭╴" + "[](fg:${cfg.promptColors.firstColor})" + "[  ](bg:${cfg.promptColors.firstColor} fg:#090c0c)" + "[](bg:${cfg.promptColors.secondColor} fg:${cfg.promptColors.firstColor})" + "$username$hostname" + "[](fg:${cfg.promptColors.secondColor} bg:${cfg.promptColors.thirdColor})" + "$directory" + "[](fg:${cfg.promptColors.thirdColor} bg:${cfg.promptColors.fourthColor})" + "$git_branch" + "[](fg:${cfg.promptColors.fourthColor})$shlvl$nix_shell" + "\n╰╴$character" + ]; + + username = { + show_always = true; + style_user = "fg:${cfg.promptColors.textColor} bg:${cfg.promptColors.secondColor}"; + style_root = "fg:red bg:${cfg.promptColors.secondColor} blink"; + format = "[ $user]($style)"; + }; + + hostname = { + ssh_only = false; + style = "fg:${cfg.promptColors.textColor} bg:${cfg.promptColors.secondColor}"; + format = "[@$hostname ]($style)"; + }; + + directory = { + style = "fg:${cfg.promptColors.firstColor} bg:${cfg.promptColors.thirdColor}"; + format = "[ $path ]($style)"; + truncate_to_repo = false; + truncation_length = 0; + + substitutions = { + "Documents" = "󰈙 "; + "Downloads" = " "; + "Music" = " "; + "Pictures" = " "; + }; + }; + + git_branch = { + style = "fg:${cfg.promptColors.secondColor} bg:${cfg.promptColors.fourthColor}"; + symbol = ""; + format = "[ $symbol $branch ]($style)"; + }; + + shlvl = { + disabled = false; + repeat = true; + symbol = "󰔳 "; + format = "[ $symbol]($style)"; + threshold = 1; + }; + + nix_shell = { + symbol = "❄️ "; + format = "[ $symbol]($style)"; + }; + + character = { + success_symbol = "[\\$](bold green)"; + error_symbol = "[\\$](bold red)"; + }; + }; + }; +} diff --git a/homeManagerModules/shell/trash/default.nix b/homeManagerModules/shell/trash/default.nix new file mode 100644 index 00000000..50ab2987 --- /dev/null +++ b/homeManagerModules/shell/trash/default.nix @@ -0,0 +1,21 @@ +self: { + config, + lib, + pkgs, + ... +}: let + inherit (lib) elem mkIf; + + cfg = config.programs.bash; + trashPkg = self.packages.${pkgs.system}.trash-d; + isCorrectPlatform = elem pkgs.system (trashPkg.meta.platforms or [pkgs.system]); +in { + config = mkIf (cfg.enable && isCorrectPlatform) { + home.packages = [trashPkg]; + + programs.bash.shellAliases.rm = "trash"; + }; + + # For accurate stack trace + _file = ./default.nix; +} diff --git a/lib/flake/default.nix b/lib/flake/default.nix index 2f611bde..82b94510 100644 --- a/lib/flake/default.nix +++ b/lib/flake/default.nix @@ -85,8 +85,6 @@ inputs: rec { }) {home-manager = {inherit extraSpecialArgs;};} - - ../../common/nix-on-droid.nix ] ++ extraModules; };