a lot of work
This commit is contained in:
26
flake.lock
generated
26
flake.lock
generated
@@ -1072,7 +1072,8 @@
|
|||||||
"rsRPC": "rsRPC",
|
"rsRPC": "rsRPC",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix",
|
||||||
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rsRPC": {
|
"rsRPC": {
|
||||||
@@ -1379,6 +1380,29 @@
|
|||||||
"repo": "xdg-desktop-portal-hyprland",
|
"repo": "xdg-desktop-portal-hyprland",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"zen-browser": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": [
|
||||||
|
"home-manager"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1766897152,
|
||||||
|
"narHash": "sha256-mD1GDg1eIHYUwk536j4uJX1IfQArsLQm2SL7rTQwAPI=",
|
||||||
|
"owner": "0xc000022070",
|
||||||
|
"repo": "zen-browser-flake",
|
||||||
|
"rev": "fe8d1a61a904b336f453d7ab5ae7d691a21c5cbf",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "0xc000022070",
|
||||||
|
"repo": "zen-browser-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -20,6 +20,15 @@
|
|||||||
url = "git+https://git.scug.io/nikkuss/pkgs";
|
url = "git+https://git.scug.io/nikkuss/pkgs";
|
||||||
# inputs.nixpkgs.follows = "nixpkgs";
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
zen-browser = {
|
||||||
|
url = "github:0xc000022070/zen-browser-flake";
|
||||||
|
inputs = {
|
||||||
|
# IMPORTANT: we're using "libgbm" and is only available in unstable so ensure
|
||||||
|
# to have it up-to-date or simply don't specify the nixpkgs input
|
||||||
|
nixpkgs.follows = "nixpkgs";
|
||||||
|
home-manager.follows = "home-manager";
|
||||||
|
};
|
||||||
|
};
|
||||||
sops-nix = {
|
sops-nix = {
|
||||||
url = "github:Mic92/sops-nix";
|
url = "github:Mic92/sops-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|||||||
@@ -19,7 +19,11 @@
|
|||||||
# chromium.enable = true;
|
# chromium.enable = true;
|
||||||
wivrn.enable = false;
|
wivrn.enable = false;
|
||||||
helium.enable = true;
|
helium.enable = true;
|
||||||
|
sops.enable = true;
|
||||||
|
wakatime.enable = false;
|
||||||
|
# remoteBuild.use-remote-builders = true;
|
||||||
nixvim.enable = true;
|
nixvim.enable = true;
|
||||||
|
zen-browser.enable = true;
|
||||||
kitty.enable = true;
|
kitty.enable = true;
|
||||||
helix.enable = false;
|
helix.enable = false;
|
||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ in
|
|||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
Hyprland.enable = true;
|
Hyprland.enable = true;
|
||||||
remoteBuild.use-remote-builders = true;
|
# remoteBuild.use-remote-builders = true;
|
||||||
wivrn.enable = false;
|
wivrn.enable = false;
|
||||||
fonts.enable = true;
|
fonts.enable = true;
|
||||||
};
|
};
|
||||||
@@ -71,19 +71,6 @@ in
|
|||||||
# intel-compute-runtime # OpenCL (NEO) + Level Zero for Arc/Xe
|
# intel-compute-runtime # OpenCL (NEO) + Level Zero for Arc/Xe
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
programs.ssh = {
|
|
||||||
# enable = true;
|
|
||||||
startAgent = true;
|
|
||||||
|
|
||||||
matchBlocks = {
|
|
||||||
"*" = {
|
|
||||||
addKeysToAgent = "yes";
|
|
||||||
identityFile = [
|
|
||||||
"~/.ssh/id_ed25519"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -6,22 +6,6 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
# imports = [
|
|
||||||
# ../../modules/hyprland/home.nix
|
|
||||||
# ../../modules/quickshell/home.nix
|
|
||||||
# ../../modules/chromium/home.nix
|
|
||||||
# #./modules/neovim/home.nix
|
|
||||||
# ../../modules/stylix/home.nix
|
|
||||||
# ../../modules/nixvim/home.nix
|
|
||||||
# ../../modules/tmux/home.nix
|
|
||||||
# ../../modules/theme/home.nix
|
|
||||||
# # ./modules/spicetify/home.nix
|
|
||||||
# ../../modules/obs/home.nix
|
|
||||||
# ../../modules/blender/home.nix
|
|
||||||
# ../../modules/fish/home.nix
|
|
||||||
# ../../modules/ytm/home.nix
|
|
||||||
# ../../overlays.nix
|
|
||||||
# ];
|
|
||||||
modules = {
|
modules = {
|
||||||
Hyprland = {
|
Hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -30,6 +14,7 @@
|
|||||||
quickshell.enable = true;
|
quickshell.enable = true;
|
||||||
# chromium.enable = true;
|
# chromium.enable = true;
|
||||||
wivrn.enable = true;
|
wivrn.enable = true;
|
||||||
|
sops.enable = true;
|
||||||
helium.enable = true;
|
helium.enable = true;
|
||||||
nixvim.enable = true;
|
nixvim.enable = true;
|
||||||
helix.enable = false;
|
helix.enable = false;
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
_: {
|
_: {
|
||||||
# home = ./home.nix;
|
home = ./home.nix;
|
||||||
nixos = ./nixos.nix;
|
nixos = ./nixos.nix;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,48 +1,39 @@
|
|||||||
# {
|
{
|
||||||
# config,
|
config,
|
||||||
# lib,
|
lib,
|
||||||
# pkgs,
|
pkgs,
|
||||||
# fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
# ...
|
...
|
||||||
# }:
|
}:
|
||||||
# let
|
let
|
||||||
# cfg = config.modules.fish;
|
cfg = config.modules.remoteBuild;
|
||||||
# in
|
in
|
||||||
# {
|
{
|
||||||
# options.modules.fish = {
|
options.modules.remoteBuild = {
|
||||||
# enable = lib.mkEnableOption "Fish";
|
use-remote-builders = lib.mkEnableOption "remoteBuild";
|
||||||
# };
|
};
|
||||||
# config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.use-remote-builders {
|
||||||
# home.shell.enableFishIntegration = true;
|
nix.package = pkgs.nix;
|
||||||
# programs = {
|
nix.distributedBuilds = true;
|
||||||
# fish = {
|
nix.settings.builders-use-substitutes = true;
|
||||||
# enable = true;
|
|
||||||
# shellInit = ''
|
# Define every build machine here..
|
||||||
# set -g theme_nerd_fonts yes
|
nix.buildMachines = [
|
||||||
# set -g theme_color_scheme nord
|
{
|
||||||
# set -g theme_display_user yes
|
# Main desktop pc
|
||||||
# set -g fish_color_autosuggestion 6F6578
|
# ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqsFEgtcTDw89GaZJg8P/FE1xngIXmiUZl8j0b+V7n+ root@doloroo-main
|
||||||
# alias nik 'nix'
|
hostName = "doloroo-main";
|
||||||
# '';
|
sshUser = "remotebuild";
|
||||||
# plugins = [
|
sshKey = "/root/.ssh/remotebuild";
|
||||||
# {
|
# protocol = "ssh-ng";
|
||||||
# name = "bobthefish";
|
maxJobs = 8;
|
||||||
# src = pkgs.fetchFromGitHub {
|
speedFactor = 2;
|
||||||
# owner = "oh-my-fish";
|
supportedFeatures = [
|
||||||
# repo = "theme-bobthefish";
|
"nixos-test"
|
||||||
# rev = "e3b4d4eafc23516e35f162686f08a42edf844e40";
|
"big-parallel"
|
||||||
# sha256 = "sha256-cXOYvdn74H4rkMWSC7G6bT4wa9d3/3vRnKed2ixRnuA=";
|
"kvm"
|
||||||
# };
|
];
|
||||||
# }
|
}
|
||||||
# ];
|
];
|
||||||
# };
|
};
|
||||||
# eza = {
|
}
|
||||||
# enable = true;
|
|
||||||
# enableFishIntegration = true;
|
|
||||||
# icons = "auto";
|
|
||||||
# git = true;
|
|
||||||
# extraOptions = [ ];
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
# }
|
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ let
|
|||||||
nix.settings.builders-use-substitutes = true;
|
nix.settings.builders-use-substitutes = true;
|
||||||
|
|
||||||
# Define every build machine here..
|
# Define every build machine here..
|
||||||
|
# also define in home manager (TODO make a single file with all builders)
|
||||||
nix.buildMachines = [
|
nix.buildMachines = [
|
||||||
{
|
{
|
||||||
# Main desktop pc
|
# Main desktop pc
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ PanelWindow {
|
|||||||
property var modelData
|
property var modelData
|
||||||
screen: modelData.values[0]
|
screen: modelData.values[0]
|
||||||
|
|
||||||
color: Common.Colors.colors.mainBackground
|
color: Qt.rgba(0, 0, 0, 0) // Fully transparent via zero alpha
|
||||||
anchors {
|
anchors {
|
||||||
top: true
|
top: true
|
||||||
left: true
|
left: true
|
||||||
@@ -25,6 +25,7 @@ PanelWindow {
|
|||||||
|
|
||||||
implicitHeight: 31
|
implicitHeight: 31
|
||||||
RowLayout {
|
RowLayout {
|
||||||
|
visible: true
|
||||||
height: 30
|
height: 30
|
||||||
anchors {
|
anchors {
|
||||||
top: parent.top
|
top: parent.top
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ Rectangle {
|
|||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
Text {
|
Text {
|
||||||
// anchors.centerIn: parent
|
// anchors.centerIn: parent
|
||||||
text: UPower.displayDevice.percentage * 100 + "%"
|
text: Math.round(UPower.displayDevice.percentage * 100) + "%"
|
||||||
color: Common.Colors.colors.primary
|
color: Common.Colors.colors.primary
|
||||||
font.weight: Font.DemiBold
|
font.weight: Font.DemiBold
|
||||||
font.pointSize: 12
|
font.pointSize: 12
|
||||||
|
|||||||
@@ -10,12 +10,18 @@ Singleton {
|
|||||||
|
|
||||||
// For oled screen that risk burn in, set up these colors as semi-transparent and have a rotating wallpaper (!!)
|
// For oled screen that risk burn in, set up these colors as semi-transparent and have a rotating wallpaper (!!)
|
||||||
readonly property var colors: ({
|
readonly property var colors: ({
|
||||||
primary: "#59b1b2b5", // Icons & Text colors
|
primary: "#59b1b2b5" // Icons & Text colors
|
||||||
secondary: "#BF2a2a2a", // Pill container colors
|
,
|
||||||
background: "#BF000000", // Background of containers
|
secondary: "#BF2a2a2a" // Pill container colors
|
||||||
mainBackground: "#20ffffff", // Color of the main bar
|
,
|
||||||
warning: "#E9D502", // (i.e battery nearing low)
|
background: "#BF000000" // Background of containers
|
||||||
critial: "#e53b3c", // (i.e battery is low)
|
,
|
||||||
critial2: "#e53b3c", // (Speaker and Mic being off)
|
mainBackground: "#20ffffff" // Color of the main bar
|
||||||
|
,
|
||||||
|
warning: "#E9D502" // (i.e battery nearing low)
|
||||||
|
,
|
||||||
|
critial: "#e53b3c" // (i.e battery is low)
|
||||||
|
,
|
||||||
|
critial2: "#e53b3c" // (Speaker and Mic being off)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
4
modules/sops/default.nix
Normal file
4
modules/sops/default.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
_: {
|
||||||
|
nixos = ./nixos.nix;
|
||||||
|
home = ./home.nix;
|
||||||
|
}
|
||||||
30
modules/sops/home.nix
Normal file
30
modules/sops/home.nix
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
home,
|
||||||
|
system,
|
||||||
|
nix-meow,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.sops;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
|
];
|
||||||
|
options.modules.sops = {
|
||||||
|
enable = lib.mkEnableOption "sops configuration module";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
sops = {
|
||||||
|
age.keyFile = "/home/doloro/.config/sops/age/key.txt"; # must have no password!
|
||||||
|
defaultSopsFile = "${nix-meow.flakeRoot}/secrets/users.yaml";
|
||||||
|
secrets."wakatime-scug-io-api-key" = {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
19
modules/sops/nixos.nix
Normal file
19
modules/sops/nixos.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
home,
|
||||||
|
system,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.sops;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.sops = {
|
||||||
|
enable = lib.mkEnableOption "sops configuration module";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
};
|
||||||
|
}
|
||||||
4
modules/zen-browser/default.nix
Normal file
4
modules/zen-browser/default.nix
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
_: {
|
||||||
|
home = ./home.nix;
|
||||||
|
# nixos = ./nixos.nix;
|
||||||
|
}
|
||||||
26
modules/zen-browser/home.nix
Normal file
26
modules/zen-browser/home.nix
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
inputs,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
fetchFromGitHub,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.zen-browser;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# inputs.zen-browser.homeModules.beta
|
||||||
|
# inputs.zen-browser.homeModules.twilight
|
||||||
|
inputs.zen-browser.homeModules.twilight-official
|
||||||
|
];
|
||||||
|
options.modules.zen-browser = {
|
||||||
|
enable = lib.mkEnableOption "zen";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
programs.zen-browser = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
17
modules/zen-browser/nixos.nix
Normal file
17
modules/zen-browser/nixos.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Disabled in default
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
cfg = config.modules.zen-browser;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.modules.zen-browser = {
|
||||||
|
enable = lib.mkEnableOption "zen";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user