fix setup
This commit is contained in:
parent
2078269704
commit
21382e22a0
7 changed files with 8 additions and 16 deletions
|
|
@ -76,6 +76,7 @@
|
|||
home-manager.extraSpecialArgs = {
|
||||
inherit zen-browser;
|
||||
hostPlatform = system;
|
||||
isNixOS = true;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
@ -89,6 +90,7 @@
|
|||
extraSpecialArgs = {
|
||||
inherit zen-browser;
|
||||
hostPlatform = system;
|
||||
isNixOS = false;
|
||||
};
|
||||
modules = [ ./home/home.nix ];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,12 +2,10 @@
|
|||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
isNixOS = builtins.pathExists /etc/NIXOS;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
./modules/bootstrap.nix
|
||||
|
|
|
|||
|
|
@ -1,11 +1,8 @@
|
|||
{
|
||||
lib,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
isNixOS = builtins.pathExists /etc/NIXOS;
|
||||
in
|
||||
{
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,11 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
isNixOS = builtins.pathExists /etc/NIXOS;
|
||||
|
||||
mkHyprTheme = palette: ''
|
||||
general {
|
||||
col.active_border = rgb(${builtins.substring 1 6 palette.fg})
|
||||
|
|
|
|||
|
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
isNixOS = builtins.pathExists /etc/NIXOS;
|
||||
in
|
||||
{
|
||||
programs.hyprlock = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
isNixOS = builtins.pathExists /etc/NIXOS;
|
||||
in
|
||||
{
|
||||
home.packages = lib.mkIf isNixOS [ pkgs.hyprpaper ];
|
||||
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
isNixOS,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
c = config.colors;
|
||||
isNixOS = builtins.pathExists /etc/NIXOS;
|
||||
|
||||
ripgrep = config.programs.ripgrep.enable;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue