1
0
Fork 0
mirror of https://git.sr.ht/~azikx/karbur synced 2024-10-30 05:26:20 +00:00

update 

This commit is contained in:
azikx 2024-10-19 20:45:18 +09:00
parent 980343743b
commit 7ed33c8747
12 changed files with 20 additions and 63 deletions

View file

View file

View file

@ -1,21 +1,17 @@
{
outputs = { nixpkgs, home-manager, ... }@inputs:
let
nxsys = nixpkgs.lib.nixosSystem;
hmsys = home-manager.lib.homeManagerConfiguration;
in {
nixosConfigurations.karbur = nxsys {
specialArgs = { inherit inputs; };
modules = [ ./host ];
};
homeConfigurations.dragora = hmsys {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = { inherit inputs; };
modules = [ ./home ];
};
outputs = { nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations.karbur = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [ ./host ];
};
homeConfigurations.dragora = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."x86_64-linux";
extraSpecialArgs = { inherit inputs; };
modules = [ ./home ];
};
};
inputs = {
# REPOSITORIES NIXPKGS
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

View file

@ -1,4 +1,4 @@
{
{ ... }: {
imports = [ ./window-managers ./programs ./themes ];
home = {

View file

@ -3,7 +3,6 @@
./user
./settings.nix
# ./search.nix
];
programs.floorp = {
enable = true;

View file

@ -1,33 +0,0 @@
{ pkgs, ... }: {
programs.firefox.profiles.dragora = {
search = {
force = true;
default = "Google";
engines = {
"Nix Packages" = {
urls = [{
template = "https://search.nixos.org/packages?channel=unstable";
params = [
{
name = "type";
value = "packages";
}
{
name = "query";
value = "{searchTerms}";
}
];
}];
icon =
"${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
definedAliases = [ "@np" ];
};
"Bing".metaData.hidden = true;
"DuckDuckGo".metaData.hidden = true;
"Wikipedia (en)".metaData.hidden = true;
"Google".metaData.alias = "@g";
};
};
};
}

View file

@ -1,10 +1,5 @@
{ pkgs, lib, ... }: {
home.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
openmoji-color
(nerdfonts.override { fonts = [ "FiraCode" "JetBrainsMono" ]; })
];
home.packages = with pkgs; [ noto-fonts noto-fonts-cjk openmoji-color ];
gtk = {
enable = true;
iconTheme = {

View file

@ -8,7 +8,7 @@
'';
"qt5ct/qt5ct.conf".text = ''
[Appearance]
color_scheme_path=/home/dragora/.config/qt5ct/colors/paradise.conf
color_scheme_path=${config.home.homeDirectory}/.config/qt5ct/colors/paradise.conf
custom_palette=true
icon_theme=Papirus-Dark
standard_dialogs=default

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ pkgs, config, ... }: {
xdg.configFile = {
"qt6ct/colors/paradise.conf".text = ''
[ColorScheme]
@ -8,7 +8,7 @@
'';
"qt6ct/qt6ct.conf".text = ''
[Appearance]
color_scheme_path=/home/dragora/.config/qt6ct/colors/paradise.conf
color_scheme_path=${config.home.homeDirectory}/.config/qt6ct/colors/paradise.conf
custom_palette=true
icon_theme=Papirus-Dark
standard_dialogs=default

View file

@ -10,8 +10,8 @@
borderSize = 2;
textColor = lib.mkForce "#${base05}";
layer = "overlay";
sort = "-time";
margin = "20, 10, 20";
sort = "+time";
margin = "20, 20, 20";
maxVisible = 5;
defaultTimeout = 0;
};

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ ... }: {
security = {
sudo = { # FUCKING CRAP
enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ pkgs, ... }: {
users = {
users = { # USERS
dragora = {