changed hyprland.conf to main.conf
This commit is contained in:
@@ -18,8 +18,7 @@
|
||||
"ags/wifi.js"
|
||||
"ags/workspaces.js"
|
||||
];
|
||||
in builtins.map (name: { ".config/${name}" = "./${name}"; }) files;
|
||||
|
||||
in builtins.mapAttrs (n: v: { source = v; target = n; }) (builtins.listToAttrs (builtins.map (_name: { name = ".config/${_name}"; value = ./${_name}; }) files));
|
||||
})
|
||||
|
||||
(lib.mkIf config.homeconfig.hyprland.enable {
|
||||
@@ -27,18 +26,17 @@
|
||||
files = [
|
||||
"hypr/otf.conf"
|
||||
"hypr/pyprland.toml"
|
||||
"hypr/hyprland.conf"
|
||||
];
|
||||
in builtins.map (name: { ".config/${name}" = "./${name}"; }) files;
|
||||
"hypr/main.conf"
|
||||
];
|
||||
in builtins.mapAttrs (n: v: { source = v; target = n; }) (builtins.listToAttrs (builtins.map (_name: { name = ".config/${_name}"; value = ./${_name}; }) files));
|
||||
})
|
||||
|
||||
(lib.mkIf config.homeconfig.swaylock.enable {
|
||||
home.file = let
|
||||
files = [
|
||||
"swaylock/config"
|
||||
];
|
||||
in builtins.map (name: { ".config/${name}" = "./${name}"; }) files;
|
||||
|
||||
];
|
||||
in builtins.mapAttrs (n: v: { source = v; target = n; }) (builtins.listToAttrs (builtins.map (_name: { name = ".config/${_name}"; value = ./${_name}; }) files));
|
||||
})
|
||||
|
||||
(lib.mkIf config.homeconfig.wal.enable {
|
||||
@@ -48,9 +46,8 @@
|
||||
"wal/templates/colors-ags.css"
|
||||
"wal/templates/colors-discord.css"
|
||||
"wal/templates/colors-hypr.conf"
|
||||
];
|
||||
in builtins.map (name: { ".config/${name}" = "./${name}"; }) files;
|
||||
|
||||
];
|
||||
in builtins.mapAttrs (n: v: { source = v; target = n; }) (builtins.listToAttrs (builtins.map (_name: { name = ".config/${_name}"; value = ./${_name}; }) files));
|
||||
})
|
||||
];
|
||||
}
|
||||
|
||||
@@ -30,6 +30,10 @@
|
||||
|
||||
systemd.variables = [ "--all" ];
|
||||
|
||||
extraConfig = ''
|
||||
source = ./main.conf
|
||||
'';
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -41,40 +41,48 @@
|
||||
inputs.spicetify-nix.homeManagerModules.default
|
||||
];
|
||||
|
||||
programs.spicetify = let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
enable = true;
|
||||
spotifyPackage = pkgs-us.spotify;
|
||||
theme = spicePkgs.themes.default;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
({
|
||||
src = "${inputs.spicetify-ext}/adblock";
|
||||
name = "adblock.js";
|
||||
})
|
||||
copyToClipboard
|
||||
oneko
|
||||
#randomBadToTheBoneRiff #this could be hilarious
|
||||
];
|
||||
enabledCustomApps = with spicePkgs.apps; [
|
||||
ncsVisualizer
|
||||
];
|
||||
};
|
||||
options.homeconfig.wal.enable = lib.options.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
config = lib.mkIf config.homeconfig.wal.enable {
|
||||
|
||||
inputs.themecord.packages.${pkgs.system}.default
|
||||
vesktop
|
||||
programs.spicetify = let
|
||||
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system};
|
||||
in {
|
||||
enable = true;
|
||||
spotifyPackage = pkgs-us.spotify;
|
||||
theme = spicePkgs.themes.default;
|
||||
enabledExtensions = with spicePkgs.extensions; [
|
||||
({
|
||||
src = "${inputs.spicetify-ext}/adblock";
|
||||
name = "adblock.js";
|
||||
})
|
||||
copyToClipboard
|
||||
oneko
|
||||
#randomBadToTheBoneRiff #this could be hilarious
|
||||
];
|
||||
enabledCustomApps = with spicePkgs.apps; [
|
||||
ncsVisualizer
|
||||
];
|
||||
};
|
||||
|
||||
pkgs-us.pywal16
|
||||
pywalfox-native
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
|
||||
home.file.".mozilla/native-messaging-hosts/pywalfox.json".text = lib.replaceStrings [ "<path>" ] [
|
||||
"${pywalfox-wrapper}/bin/pywalfox-wrapper"
|
||||
]
|
||||
(lib.readFile "${pkgs.pywalfox-native}/lib/python3.11/site-packages/pywalfox/assets/manifest.json");
|
||||
inputs.themecord.packages.${pkgs.system}.default
|
||||
vesktop
|
||||
|
||||
pkgs-us.pywal16
|
||||
pywalfox-native
|
||||
];
|
||||
|
||||
home.file.".mozilla/native-messaging-hosts/pywalfox.json".text = lib.replaceStrings [ "<path>" ] [
|
||||
"${pywalfox-wrapper}/bin/pywalfox-wrapper"
|
||||
]
|
||||
(lib.readFile "${pkgs.pywalfox-native}/lib/python3.11/site-packages/pywalfox/assets/manifest.json");
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
@@ -7,6 +7,6 @@
|
||||
|
||||
config = lib.mkIf config.homeconfig.swaylock.enable {
|
||||
|
||||
home.Packages = with pkgs; [ swaylock-effects ];
|
||||
home.packages = with pkgs; [ swaylock-effects ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user