Initial commit
This commit is contained in:
266
flake.lock
generated
Normal file
266
flake.lock
generated
Normal file
@@ -0,0 +1,266 @@
|
||||
{
|
||||
"nodes": {
|
||||
"catppuccin": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774098279,
|
||||
"narHash": "sha256-OoQRoQmwCuBBXObi82F6C+eYV1lYCt5Va5k/VckJ6vo=",
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"rev": "cb374516af3ccc3aa0c6ef518292bf4ae417a60e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "catppuccin",
|
||||
"repo": "nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"firefox-addons": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"lastModified": 1774497795,
|
||||
"narHash": "sha256-tzgxKaCEMcU6XT0fjV/vEqDCM9yij6wBgPPBKiK8Dfk=",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"rev": "11af6f465a038233b8123022dcb7e293f3229f11",
|
||||
"type": "gitlab"
|
||||
},
|
||||
"original": {
|
||||
"dir": "pkgs/firefox-addons",
|
||||
"owner": "rycee",
|
||||
"repo": "nur-expressions",
|
||||
"type": "gitlab"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1751685974,
|
||||
"narHash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "549f2762aebeff29a2e5ece7a7dc0f955281a1d1",
|
||||
"revCount": 92,
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
||||
},
|
||||
"original": {
|
||||
"type": "git",
|
||||
"url": "https://git.lix.systems/lix-project/flake-compat.git"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": [
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1769996383,
|
||||
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"home-manager": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774293042,
|
||||
"narHash": "sha256-OEBV+Y5I4Ldu98k0KvGXRfJYh+jjE8ocCSL/dxTGs1s=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "bc357c75e3142a31b849ba49c5299fb52c61cf59",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"mnw": {
|
||||
"locked": {
|
||||
"lastModified": 1770419553,
|
||||
"narHash": "sha256-b1XqsH7AtVf2dXmq2iyRr2NC1yG7skY7Z6N2MpWHlK4=",
|
||||
"owner": "Gerg-L",
|
||||
"repo": "mnw",
|
||||
"rev": "2aaffa8030d0b262176146adbb6b0e6374ce2957",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Gerg-L",
|
||||
"repo": "mnw",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ndg": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nvf",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1768214250,
|
||||
"narHash": "sha256-hnBZDQWUxJV3KbtvyGW5BKLO/fAwydrxm5WHCWMQTbw=",
|
||||
"owner": "feel-co",
|
||||
"repo": "ndg",
|
||||
"rev": "a6bd3c1ce2668d096e4fdaaa03ad7f03ba1fbca8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "feel-co",
|
||||
"ref": "refs/tags/v2.6.0",
|
||||
"repo": "ndg",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1773821835,
|
||||
"narHash": "sha256-TJ3lSQtW0E2JrznGVm8hOQGVpXjJyXY2guAxku2O9A4=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b40629efe5d6ec48dd1efba650c797ddbd39ace0",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1774106199,
|
||||
"narHash": "sha256-US5Tda2sKmjrg2lNHQL3jRQ6p96cgfWh3J1QBliQ8Ws=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6c9a78c09ff4d6c21d0319114873508a6ec01655",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nvf": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"flake-parts": "flake-parts",
|
||||
"mnw": "mnw",
|
||||
"ndg": "ndg",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774736237,
|
||||
"narHash": "sha256-uQ+Was7QP9Bupr0XZyZXOAD32Ox8z2mJnevT2FmDwS8=",
|
||||
"owner": "NotAShelf",
|
||||
"repo": "nvf",
|
||||
"rev": "a0636d5c977743851c91d3c2e74bfac90be48835",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NotAShelf",
|
||||
"repo": "nvf",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"catppuccin": "catppuccin",
|
||||
"firefox-addons": "firefox-addons",
|
||||
"home-manager": "home-manager",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"nvf": "nvf",
|
||||
"sops-nix": "sops-nix",
|
||||
"zen-browser": "zen-browser"
|
||||
}
|
||||
},
|
||||
"sops-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774760784,
|
||||
"narHash": "sha256-D+tgywBHldTc0klWCIC49+6Zlp57Y4GGwxP1CqfxZrY=",
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"rev": "8adb84861fe70e131d44e1e33c426a51e2e0bfa5",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Mic92",
|
||||
"repo": "sops-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"zen-browser": {
|
||||
"inputs": {
|
||||
"home-manager": [
|
||||
"home-manager"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1774242250,
|
||||
"narHash": "sha256-pchbnY7KVnH26g4O3LZO8vpshInqNj937gAqlPob1Mk=",
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"rev": "f19c3e6683c2d2f3fcfcb88fb691931a104bc47c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "0xc000022070",
|
||||
"repo": "zen-browser-flake",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
61
flake.nix
Normal file
61
flake.nix
Normal file
@@ -0,0 +1,61 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
firefox-addons = {
|
||||
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nvf = {
|
||||
url = "github:NotAShelf/nvf";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
zen-browser = {
|
||||
url = "github:0xc000022070/zen-browser-flake";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
home-manager.follows = "home-manager";
|
||||
};
|
||||
};
|
||||
sops-nix = {
|
||||
url = "github:Mic92/sops-nix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
specialArgs = {
|
||||
inherit inputs self;
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
saturn = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
./systems/saturn/configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
kurin = nixpkgs.lib.nixosSystem {
|
||||
system = "aarch64-linux";
|
||||
inherit specialArgs;
|
||||
modules = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
./systems/kurin/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
3
modules/base/README.md
Normal file
3
modules/base/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This module contains configuration shared between all systems, no matter their target use.
|
||||
|
||||
This means that Nix configuration, locale and user accounts will be defined here.
|
||||
11
modules/base/branding.nix
Normal file
11
modules/base/branding.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
system = {
|
||||
name = "gooberos";
|
||||
nixos = {
|
||||
distroId = "gooberos";
|
||||
distroName = "Goober OS";
|
||||
};
|
||||
image.id = "gooberos";
|
||||
#image.version = cfg.distroVersion ? "";
|
||||
};
|
||||
}
|
||||
17
modules/base/default.nix
Normal file
17
modules/base/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.catppuccin.nixosModules.catppuccin
|
||||
inputs.home-manager.nixosModules.home-manager
|
||||
inputs.nvf.nixosModules.default
|
||||
|
||||
./nvf
|
||||
./branding.nix
|
||||
./garbage.nix
|
||||
./locale.nix
|
||||
./nix.nix
|
||||
./packages.nix
|
||||
./user.nix
|
||||
];
|
||||
|
||||
}
|
||||
11
modules/base/garbage.nix
Normal file
11
modules/base/garbage.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
services = {
|
||||
fstrim.enable = lib.mkDefault true;
|
||||
speechd.enable = false;
|
||||
orca.enable = false;
|
||||
|
||||
# Change DBus implementation to something possibly smaller
|
||||
dbus.implementation = lib.mkDefault "broker";
|
||||
};
|
||||
}
|
||||
14
modules/base/home/default.nix
Normal file
14
modules/base/home/default.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
imports = [
|
||||
./fastfetch
|
||||
];
|
||||
|
||||
programs = {
|
||||
bash.enable = true;
|
||||
starship.enable = true;
|
||||
starship.settings = builtins.fromTOML (builtins.readFile ./starship.toml);
|
||||
home-manager.enable = true;
|
||||
};
|
||||
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
36
modules/base/home/fastfetch/2.txt
Normal file
36
modules/base/home/fastfetch/2.txt
Normal file
@@ -0,0 +1,36 @@
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡘⢧⡀⠀⠀⢰⣶⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡾⠁⠀⠙⢦⡀⢸⡏⠻⢦⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⠃⠀⠀⠀⠀⠙⠺⡇⠀⠀⠙⠳⠦⡀⠀⠀⠀⠀⠀⠀⠀⣀⣀⣀⣠⠤⢤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⡖⠶⠶⠒⠒⠒⠒⠓⠂⠀⠀⠀⠀⠀⠐⠒⠚⠛⠋⠉⠉⠉⠁⠀⠀⠀⠀⠉⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠙⢦⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣴⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠙⠛⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠀⢀⣠⣄⡀⠀⠀⠀⠀⢀⣠⣤⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⣸⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⠃⠀⠀⠀⣰⠏⢉⣼⣧⠀⠀⠀⢠⣿⣅⠀⠀⢹⡆⠀⠀⠀⠀⠀⠀⢠⡏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡯⠀⢸⣿⣿⠀⠀⠀⣾⣿⣿⠀⠀⠀⣷⠀⠀⠀⠀⠀⢀⡞⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡴⠛⠁⢀⠈⠁⠀⢸⣿⣿⠀⠀⠀⢹⣿⣿⠀⠀⠀⠉⠀⠀⠀⠈⠛⢿⡅⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⡀⠀⠀⢸⣧⣴⣀⣄⠉⣁⠐⣳⢀⣨⣟⠋⠀⠀⣀⣴⣠⠀⠀⠀⢀⡼⠃⠀⠀⠀⢰⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢶⡎⢳⣌⡉⠀⠀⠙⠻⣯⣉⢉⣿⠄⠀⠀⢉⣬⡿⠃⠀⠀⢾⡀⠀⠀⠀⠀⣸⠃⠙⠳⣤⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⣇⣀⡈⠙⠛⢳⡶⣤⣤⣭⣽⣭⡴⣶⠛⣿⣥⡄⢠⣤⣤⣼⡇⠀⡄⣾⠀⣿⠀⠀⠀⠀⠙⢦⡄⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢰⡟⠛⠺⠷⢤⣤⣿⣿⣿⣤⡾⠟⣃⡿⠀⠀⠀⠀⠀⠀⠘⠃⡿⢀⡗⠀⠀⠀⠀⠀⠈⢻⣆⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣆⠀⠀⠀⢸⣏⣌⡙⡇⠀⠀⠺⣦⠀⠀⠀⠀⠀⠀⣼⣄⠀⢸⡇⠀⠀⠀⠀⠀⠀⠀⠹⣇⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢙⣷⠀⠀⠀⠛⠛⠛⠁⠀⠀⣾⠁⠀⠀⠀⠀⠀⢰⡟⢹⣆⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠹⣆⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢰⡏⠁⠀⠀⠀⠀⣤⠀⠀⠀⢰⣾⠀⠀⠀⠀⠀⣠⡟⠀⠀⠿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢿⡀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⡟⠛⠛⠀⣠⡟⠀⠀⠀⢸⢹⡄⠀⠀⢀⡴⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⡇⣿⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⣿⡇⠀⠀⠀⢸⠸⣇⣀⡴⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡇⢻⠀⡄
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⠀⠀⠀⣿⠀⠀⠀⠀⣿⠀⠻⣏⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢸⡇⢼⣰⡇
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡶⠶⠛⠋⣿⠀⠀⢠⡏⠀⠀⠀⠀⡿⠀⠀⠙⢷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣼⢁⡿⠾⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣤⠿⠀⠀⠀⣿⠀⠀⣸⠃⠀⠀⠀⢠⡏⠀⠀⠀⠀⢹⡷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⠟⠈⠁⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠰⣟⠁⠀⠀⠀⠀⢶⣿⠀⢠⡟⠀⠀⠀⠀⢸⠅⠀⠀⠀⠀⢻⡆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣠⡾⠋⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⡾⠃⠀⠀⠀⠀⠘⣿⢀⡾⠁⠀⠀⠀⠀⣿⠀⠀⠀⠀⣴⠟⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⠿⢦⣄⡀⠀⠀⠀⠀⡏⣼⠃⠀⠀⠀⠀⢀⡿⠀⠀⠀⠀⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⢠⣄⣀⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⢀⣴⠟⠓⠤⡀⠈⠹⣦⡀⠀⠐⣷⣷⡇⠀⢠⡄⠀⣼⣃⣀⣀⣀⠀⠀⡇⠀⠀⠀⠲⣄⡀⠀⠀⠀⣈⡽⠟⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⣠⠿⠅⣀⠀⠀⠈⠳⡄⠸⣧⠀⣠⡿⠿⢷⢤⣬⣿⡾⠛⠉⠉⠉⠉⠷⣴⡇⠀⠀⠀⠀⠈⠙⠛⠛⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⣠⡾⢁⡀⠀⠀⠑⢄⠀⠀⠸⣄⣿⠟⠉⠀⠀⠀⠀⠀⢸⣇⠤⠤⠦⠤⠤⢀⣹⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⢀⣴⠋⠀⠀⠈⠑⢄⠀⠀⢣⠀⣠⡟⠁⠀⠀⠀⠀⠀⠀⠀⢸⠇⠀⠀⠀⠀⠀⠀⠉⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⢰⡏⣴⠉⠑⣢⣄⠀⠀⢳⣀⣴⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⣸⡀⠀⠀⠀⠀⠀⠀⠀⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠈⠿⣏⠀⠀⢿⠀⣳⣤⡶⠛⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣀⣀⡀⠀⠀⠀⠀⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠋⠙⠛⠛⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⠀⠀⠀⠀⠉⠓⠢⣼⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣀⠀⣀⣀⡀⠀⣸⡟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⣿⢰⡇⠀⠀⢿⢑⡿⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⢿⣷⣀⣤⣼⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
|
||||
197
modules/base/home/fastfetch/default.nix
Normal file
197
modules/base/home/fastfetch/default.nix
Normal file
@@ -0,0 +1,197 @@
|
||||
{
|
||||
programs.fastfetch.enable = true;
|
||||
programs.fastfetch.settings = {
|
||||
logo = {
|
||||
type = "file-raw";
|
||||
source = ./2.txt;
|
||||
};
|
||||
display = {
|
||||
separator = ": ";
|
||||
color = {
|
||||
keys = "magenta";
|
||||
title = "magenta";
|
||||
output = "";
|
||||
separator = "";
|
||||
};
|
||||
};
|
||||
modules = [
|
||||
{
|
||||
type = "title";
|
||||
key = " ";
|
||||
keyIcon = "";
|
||||
fqdn = false;
|
||||
color = {
|
||||
user = "";
|
||||
at = "";
|
||||
host = "";
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "separator";
|
||||
string = "-";
|
||||
outputColor = "";
|
||||
times = 0;
|
||||
}
|
||||
{
|
||||
type = "os";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "host";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "kernel";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "uptime";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "packages";
|
||||
keyIcon = "";
|
||||
disabled = [
|
||||
"winget"
|
||||
];
|
||||
combined = false;
|
||||
}
|
||||
{
|
||||
type = "shell";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "display";
|
||||
keyIcon = "";
|
||||
compactType = "none";
|
||||
preciseRefreshRate = false;
|
||||
order = "desc";
|
||||
}
|
||||
{
|
||||
type = "de";
|
||||
keyIcon = "";
|
||||
slowVersionDetection = false;
|
||||
}
|
||||
{
|
||||
type = "wm";
|
||||
keyIcon = "";
|
||||
detectPlugin = false;
|
||||
}
|
||||
{
|
||||
type = "wmtheme";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "theme";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "icons";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "font";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "cursor";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "terminal";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "terminalfont";
|
||||
keyIcon = "";
|
||||
}
|
||||
{
|
||||
type = "cpu";
|
||||
keyIcon = "";
|
||||
temp = false;
|
||||
showPeCoreCount = false;
|
||||
}
|
||||
{
|
||||
type = "gpu";
|
||||
keyIcon = "";
|
||||
driverSpecific = false;
|
||||
detectionMethod = "pci";
|
||||
temp = false;
|
||||
hideType = "none";
|
||||
percent = {
|
||||
green = 50;
|
||||
yellow = 80;
|
||||
type = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "memory";
|
||||
keyIcon = "";
|
||||
percent = {
|
||||
green = 50;
|
||||
yellow = 80;
|
||||
type = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "swap";
|
||||
percent = {
|
||||
green = 50;
|
||||
yellow = 80;
|
||||
type = 0;
|
||||
};
|
||||
keyIcon = "";
|
||||
separate = false;
|
||||
}
|
||||
{
|
||||
type = "disk";
|
||||
keyIcon = "";
|
||||
showRegular = true;
|
||||
showExternal = true;
|
||||
showHidden = false;
|
||||
showSubvolumes = false;
|
||||
showReadOnly = true;
|
||||
showUnknown = false;
|
||||
folders = "";
|
||||
hideFolders = "/efi:/boot:/boot/efi:/boot/firmware";
|
||||
hideFS = "";
|
||||
useAvailable = false;
|
||||
percent = {
|
||||
green = 50;
|
||||
yellow = 80;
|
||||
type = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "localip";
|
||||
keyIcon = "";
|
||||
showIpv4 = true;
|
||||
showIpv6 = false;
|
||||
showMac = false;
|
||||
showLoop = false;
|
||||
showPrefixLen = true;
|
||||
showMtu = false;
|
||||
showSpeed = false;
|
||||
showFlags = false;
|
||||
compact = false;
|
||||
defaultRouteOnly = true;
|
||||
showAllIps = false;
|
||||
namePrefix = "";
|
||||
}
|
||||
{
|
||||
type = "battery";
|
||||
keyIcon = "";
|
||||
temp = false;
|
||||
percent = {
|
||||
green = 50;
|
||||
yellow = 20;
|
||||
type = 0;
|
||||
};
|
||||
}
|
||||
{
|
||||
type = "poweradapter";
|
||||
keyIcon = "";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
279
modules/base/home/starship.toml
Normal file
279
modules/base/home/starship.toml
Normal file
@@ -0,0 +1,279 @@
|
||||
"$schema" = 'https://starship.rs/config-schema.json'
|
||||
|
||||
format = """
|
||||
[](red)\
|
||||
$os\
|
||||
$username\
|
||||
[](bg:peach fg:red)\
|
||||
$directory\
|
||||
[](bg:yellow fg:peach)\
|
||||
$git_branch\
|
||||
$git_status\
|
||||
[](fg:yellow bg:green)\
|
||||
$c\
|
||||
$rust\
|
||||
$golang\
|
||||
$nodejs\
|
||||
$php\
|
||||
$java\
|
||||
$kotlin\
|
||||
$haskell\
|
||||
$python\
|
||||
[](fg:green bg:sapphire)\
|
||||
$conda\
|
||||
[](fg:sapphire bg:lavender)\
|
||||
$time\
|
||||
[ ](fg:lavender)\
|
||||
$cmd_duration\
|
||||
$line_break\
|
||||
$character"""
|
||||
|
||||
palette = 'catppuccin_mocha'
|
||||
|
||||
[os]
|
||||
disabled = false
|
||||
style = "bg:red fg:crust"
|
||||
|
||||
[os.symbols]
|
||||
Windows = ""
|
||||
Ubuntu = ""
|
||||
SUSE = ""
|
||||
Raspbian = ""
|
||||
Mint = ""
|
||||
Macos = ""
|
||||
Manjaro = ""
|
||||
Linux = ""
|
||||
Gentoo = ""
|
||||
Fedora = ""
|
||||
Alpine = ""
|
||||
Amazon = ""
|
||||
Android = ""
|
||||
AOSC = ""
|
||||
Arch = ""
|
||||
Artix = ""
|
||||
CentOS = ""
|
||||
Debian = ""
|
||||
Redhat = ""
|
||||
RedHatEnterprise = ""
|
||||
|
||||
[username]
|
||||
show_always = true
|
||||
style_user = "bg:red fg:crust"
|
||||
style_root = "bg:red fg:crust"
|
||||
format = '[ $user]($style)'
|
||||
|
||||
[directory]
|
||||
style = "bg:peach fg:crust"
|
||||
format = "[ $path ]($style)"
|
||||
truncation_length = 3
|
||||
truncation_symbol = "…/"
|
||||
|
||||
[directory.substitutions]
|
||||
"Documents" = " "
|
||||
"Downloads" = " "
|
||||
"Music" = " "
|
||||
"Pictures" = " "
|
||||
"Developer" = " "
|
||||
|
||||
[git_branch]
|
||||
symbol = ""
|
||||
style = "bg:yellow"
|
||||
format = '[[ $symbol $branch ](fg:crust bg:yellow)]($style)'
|
||||
|
||||
[git_status]
|
||||
style = "bg:yellow"
|
||||
format = '[[($all_status$ahead_behind )](fg:crust bg:yellow)]($style)'
|
||||
|
||||
[nodejs]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[c]
|
||||
symbol = " "
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[rust]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[golang]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[php]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[java]
|
||||
symbol = " "
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[kotlin]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[haskell]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[python]
|
||||
symbol = ""
|
||||
style = "bg:green"
|
||||
format = '[[ $symbol( $version)(\(#$virtualenv\)) ](fg:crust bg:green)]($style)'
|
||||
|
||||
[docker_context]
|
||||
symbol = ""
|
||||
style = "bg:sapphire"
|
||||
format = '[[ $symbol( $context) ](fg:crust bg:sapphire)]($style)'
|
||||
|
||||
[conda]
|
||||
symbol = " "
|
||||
style = "fg:crust bg:sapphire"
|
||||
format = '[$symbol$environment ]($style)'
|
||||
ignore_base = false
|
||||
|
||||
[time]
|
||||
disabled = false
|
||||
time_format = "%R"
|
||||
style = "bg:lavender"
|
||||
format = '[[ $time ](fg:crust bg:lavender)]($style)'
|
||||
|
||||
[line_break]
|
||||
disabled = true
|
||||
|
||||
[character]
|
||||
disabled = false
|
||||
success_symbol = '[❯](bold fg:green)'
|
||||
error_symbol = '[❯](bold fg:red)'
|
||||
vimcmd_symbol = '[❮](bold fg:green)'
|
||||
vimcmd_replace_one_symbol = '[❮](bold fg:lavender)'
|
||||
vimcmd_replace_symbol = '[❮](bold fg:lavender)'
|
||||
vimcmd_visual_symbol = '[❮](bold fg:yellow)'
|
||||
|
||||
[cmd_duration]
|
||||
show_milliseconds = true
|
||||
format = " in $duration "
|
||||
style = "bg:lavender"
|
||||
disabled = false
|
||||
show_notifications = true
|
||||
min_time_to_notify = 45000
|
||||
|
||||
[palettes.catppuccin_mocha]
|
||||
rosewater = "#f5e0dc"
|
||||
flamingo = "#f2cdcd"
|
||||
pink = "#f5c2e7"
|
||||
mauve = "#cba6f7"
|
||||
red = "#f38ba8"
|
||||
maroon = "#eba0ac"
|
||||
peach = "#fab387"
|
||||
yellow = "#f9e2af"
|
||||
green = "#a6e3a1"
|
||||
teal = "#94e2d5"
|
||||
sky = "#89dceb"
|
||||
sapphire = "#74c7ec"
|
||||
blue = "#89b4fa"
|
||||
lavender = "#b4befe"
|
||||
text = "#cdd6f4"
|
||||
subtext1 = "#bac2de"
|
||||
subtext0 = "#a6adc8"
|
||||
overlay2 = "#9399b2"
|
||||
overlay1 = "#7f849c"
|
||||
overlay0 = "#6c7086"
|
||||
surface2 = "#585b70"
|
||||
surface1 = "#45475a"
|
||||
surface0 = "#313244"
|
||||
base = "#1e1e2e"
|
||||
mantle = "#181825"
|
||||
crust = "#11111b"
|
||||
|
||||
[palettes.catppuccin_frappe]
|
||||
rosewater = "#f2d5cf"
|
||||
flamingo = "#eebebe"
|
||||
pink = "#f4b8e4"
|
||||
mauve = "#ca9ee6"
|
||||
red = "#e78284"
|
||||
maroon = "#ea999c"
|
||||
peach = "#ef9f76"
|
||||
yellow = "#e5c890"
|
||||
green = "#a6d189"
|
||||
teal = "#81c8be"
|
||||
sky = "#99d1db"
|
||||
sapphire = "#85c1dc"
|
||||
blue = "#8caaee"
|
||||
lavender = "#babbf1"
|
||||
text = "#c6d0f5"
|
||||
subtext1 = "#b5bfe2"
|
||||
subtext0 = "#a5adce"
|
||||
overlay2 = "#949cbb"
|
||||
overlay1 = "#838ba7"
|
||||
overlay0 = "#737994"
|
||||
surface2 = "#626880"
|
||||
surface1 = "#51576d"
|
||||
surface0 = "#414559"
|
||||
base = "#303446"
|
||||
mantle = "#292c3c"
|
||||
crust = "#232634"
|
||||
|
||||
[palettes.catppuccin_latte]
|
||||
rosewater = "#dc8a78"
|
||||
flamingo = "#dd7878"
|
||||
pink = "#ea76cb"
|
||||
mauve = "#8839ef"
|
||||
red = "#d20f39"
|
||||
maroon = "#e64553"
|
||||
peach = "#fe640b"
|
||||
yellow = "#df8e1d"
|
||||
green = "#40a02b"
|
||||
teal = "#179299"
|
||||
sky = "#04a5e5"
|
||||
sapphire = "#209fb5"
|
||||
blue = "#1e66f5"
|
||||
lavender = "#7287fd"
|
||||
text = "#4c4f69"
|
||||
subtext1 = "#5c5f77"
|
||||
subtext0 = "#6c6f85"
|
||||
overlay2 = "#7c7f93"
|
||||
overlay1 = "#8c8fa1"
|
||||
overlay0 = "#9ca0b0"
|
||||
surface2 = "#acb0be"
|
||||
surface1 = "#bcc0cc"
|
||||
surface0 = "#ccd0da"
|
||||
base = "#eff1f5"
|
||||
mantle = "#e6e9ef"
|
||||
crust = "#dce0e8"
|
||||
|
||||
[palettes.catppuccin_macchiato]
|
||||
rosewater = "#f4dbd6"
|
||||
flamingo = "#f0c6c6"
|
||||
pink = "#f5bde6"
|
||||
mauve = "#c6a0f6"
|
||||
red = "#ed8796"
|
||||
maroon = "#ee99a0"
|
||||
peach = "#f5a97f"
|
||||
yellow = "#eed49f"
|
||||
green = "#a6da95"
|
||||
teal = "#8bd5ca"
|
||||
sky = "#91d7e3"
|
||||
sapphire = "#7dc4e4"
|
||||
blue = "#8aadf4"
|
||||
lavender = "#b7bdf8"
|
||||
text = "#cad3f5"
|
||||
subtext1 = "#b8c0e0"
|
||||
subtext0 = "#a5adcb"
|
||||
overlay2 = "#939ab7"
|
||||
overlay1 = "#8087a2"
|
||||
overlay0 = "#6e738d"
|
||||
surface2 = "#5b6078"
|
||||
surface1 = "#494d64"
|
||||
surface0 = "#363a4f"
|
||||
base = "#24273a"
|
||||
mantle = "#1e2030"
|
||||
crust = "#181926"
|
||||
9
modules/base/locale.nix
Normal file
9
modules/base/locale.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
# Time
|
||||
time.timeZone = "Europe/Warsaw";
|
||||
services.ntp.enable = true;
|
||||
|
||||
# Keyboard
|
||||
console.keyMap = "pl";
|
||||
services.xserver.xkb.layout = "pl";
|
||||
}
|
||||
46
modules/base/nix.nix
Normal file
46
modules/base/nix.nix
Normal file
@@ -0,0 +1,46 @@
|
||||
{
|
||||
# Environment variables
|
||||
environment.variables = {
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
};
|
||||
|
||||
# Nixpkgs configuration
|
||||
nixpkgs.config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
flake = "/home/dark/gooberos";
|
||||
clean = {
|
||||
enable = true;
|
||||
dates = "16:00";
|
||||
extraArgs = "--keep 3";
|
||||
};
|
||||
};
|
||||
|
||||
nix = {
|
||||
# Misc
|
||||
channel.enable = false;
|
||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
# Building
|
||||
daemonCPUSchedPolicy = "batch";
|
||||
extraOptions = ''
|
||||
keep-going = true
|
||||
'';
|
||||
settings.auto-optimise-store = true;
|
||||
|
||||
# GC
|
||||
#gc = {
|
||||
# automatic = true;
|
||||
# default = "16:00";
|
||||
#};
|
||||
|
||||
# Optimiser
|
||||
optimise = {
|
||||
automatic = true;
|
||||
dates = "17:00";
|
||||
};
|
||||
};
|
||||
}
|
||||
36
modules/base/nvf/default.nix
Normal file
36
modules/base/nvf/default.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
programs.nvf = {
|
||||
enable = true;
|
||||
# Your settings need to go into the settings attribute set
|
||||
# most settings are documented in the appendix
|
||||
settings = {
|
||||
vim = {
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
lsp.enable = true;
|
||||
languages = {
|
||||
nix.enable = true;
|
||||
ts.enable = true;
|
||||
python.enable = true;
|
||||
markdown.enable = true;
|
||||
html.enable = true;
|
||||
go.enable = true;
|
||||
# lua.emable = true;
|
||||
php.enable = true;
|
||||
astro.enable = true;
|
||||
bash.enable = true;
|
||||
css.enable = true;
|
||||
svelte.enable = true;
|
||||
tailwind.enable = true;
|
||||
yaml.enable = true;
|
||||
};
|
||||
|
||||
lazy = {
|
||||
plugins = {
|
||||
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
60
modules/base/packages.nix
Normal file
60
modules/base/packages.nix
Normal file
@@ -0,0 +1,60 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
btop
|
||||
fastfetchMinimal
|
||||
gitMinimal
|
||||
htop
|
||||
ncdu
|
||||
nix-tree
|
||||
nix-output-monitor
|
||||
p7zip
|
||||
unzip
|
||||
zip
|
||||
unrar-free
|
||||
tlrc
|
||||
coreutils
|
||||
curl
|
||||
findutils
|
||||
file
|
||||
gawk
|
||||
gnugrep
|
||||
gnused
|
||||
gnutar
|
||||
inetutils
|
||||
jq
|
||||
killall
|
||||
less
|
||||
lsof
|
||||
nano
|
||||
pciutils
|
||||
unzip
|
||||
usbutils
|
||||
util-linux
|
||||
wget
|
||||
vim
|
||||
zip
|
||||
|
||||
|
||||
btop
|
||||
efibootmgr
|
||||
efivar
|
||||
fd
|
||||
fzf
|
||||
fastfetchMinimal
|
||||
# git
|
||||
gitMinimal
|
||||
gptfdisk
|
||||
htop
|
||||
ncdu
|
||||
openssh
|
||||
openssl
|
||||
python3
|
||||
ripgrep
|
||||
tmux
|
||||
tlrc
|
||||
w3m
|
||||
zstd
|
||||
|
||||
];
|
||||
}
|
||||
22
modules/base/user.nix
Normal file
22
modules/base/user.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
{
|
||||
# NixOS
|
||||
users.users.dark = {
|
||||
isNormalUser = true;
|
||||
description = "Dark Steveneq";
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"video"
|
||||
"kvm"
|
||||
];
|
||||
};
|
||||
|
||||
# Home manager
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users.dark = ./home;
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
};
|
||||
}
|
||||
3
modules/desktop/README.md
Normal file
3
modules/desktop/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This module contains common desktop configs
|
||||
|
||||
This means stuff like Vesktop and alike will be defined here
|
||||
21
modules/desktop/default.nix
Normal file
21
modules/desktop/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./tailscale.nix
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
inputs.catppuccin.homeModules.catppuccin
|
||||
inputs.zen-browser.homeModules.beta
|
||||
|
||||
./home
|
||||
];
|
||||
|
||||
catppuccin.enable = true;
|
||||
catppuccin.cache.enable = true;
|
||||
|
||||
services.dbus.implementation = "dbus";
|
||||
|
||||
system.nixos.variantName = "Desktop";
|
||||
system.nixos.variant_id = "desktop";
|
||||
}
|
||||
11
modules/desktop/home/default.nix
Normal file
11
modules/desktop/home/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
imports = [
|
||||
./element.nix
|
||||
./packages.nix
|
||||
./vesktop.nix
|
||||
./zen-browser
|
||||
];
|
||||
|
||||
catppuccin.enable = true;
|
||||
catppuccin.cache.enable = true;
|
||||
}
|
||||
100
modules/desktop/home/element.nix
Normal file
100
modules/desktop/home/element.nix
Normal file
@@ -0,0 +1,100 @@
|
||||
{
|
||||
programs.element-desktop = {
|
||||
enable = true;
|
||||
|
||||
# The `settings` attribute is turned into the JSON file that Element reads.
|
||||
# We therefore write it as a normal Nix attribute set; the module will
|
||||
# serialise it to JSON for us.
|
||||
settings = {
|
||||
# --------------------------------------------------------------------
|
||||
# Feature toggles
|
||||
# --------------------------------------------------------------------
|
||||
features = {
|
||||
feature_latex_maths = true;
|
||||
feature_pinning = true;
|
||||
feature_jump_to_date = true;
|
||||
feature_custom_themes = true;
|
||||
feature_location_share_live = false;
|
||||
feature_video_rooms = true;
|
||||
feature_element_call_video_rooms = false;
|
||||
feature_group_calls = false;
|
||||
feature_disable_call_per_sender_encryption = false;
|
||||
feature_notifications = true;
|
||||
feature_ask_to_join = true;
|
||||
feature_new_room_list = true;
|
||||
feature_share_history_on_invite = true;
|
||||
};
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Room directory / server list
|
||||
# --------------------------------------------------------------------
|
||||
room_directory = {
|
||||
servers = [
|
||||
"darksteveneq.nonamesoft.xyz"
|
||||
"hashtags.nonamesoft.xyz"
|
||||
"youmatrix.nonamesoft.xyz"
|
||||
"matrix.org"
|
||||
];
|
||||
};
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Miscellaneous defaults
|
||||
# --------------------------------------------------------------------
|
||||
default_country_code = "PL";
|
||||
default_theme = "Catppuccin Mocha (Mauve)";
|
||||
permalink_prefix = "https://darksteveneq.nonamesoft.xyz/element";
|
||||
disable_guests = true;
|
||||
|
||||
# --------------------------------------------------------------------
|
||||
# Custom theme definition (the Catppuccin Mocha theme you supplied)
|
||||
# --------------------------------------------------------------------
|
||||
setting_defaults = {
|
||||
custom_themes = [
|
||||
{
|
||||
name = "Catppuccin Mocha (Mauve)";
|
||||
is_dark = true;
|
||||
colors = {
|
||||
"accent-color" = "#cba6f7";
|
||||
"primary-color" = "#cba6f7";
|
||||
"warning-color" = "#f38ba8";
|
||||
"alert" = "#f9e2af";
|
||||
"sidebar-color" = "#11111b";
|
||||
"roomlist-background-color" = "#181825";
|
||||
"roomlist-text-color" = "#cdd6f4";
|
||||
"roomlist-text-secondary-color" = "#9399b2";
|
||||
"roomlist-highlights-color" = "#45475a";
|
||||
"roomlist-separator-color" = "#7f849c";
|
||||
"timeline-background-color" = "#1e1e2e";
|
||||
"timeline-text-color" = "#cdd6f4";
|
||||
"secondary-content" = "#cdd6f4";
|
||||
"tertiary-content" = "#cdd6f4";
|
||||
"timeline-text-secondary-color" = "#a6adc8";
|
||||
"timeline-highlights-color" = "#181825";
|
||||
"reaction-row-button-selected-bg-color" = "#45475a";
|
||||
"menu-selected-color" = "#45475a";
|
||||
"focus-bg-color" = "#585b70";
|
||||
"room-highlight-color" = "#89dceb";
|
||||
"togglesw-off-color" = "#9399b2";
|
||||
"other-user-pill-bg-color" = "#89dceb";
|
||||
"username-colors" = [
|
||||
"#cba6f7"
|
||||
"#eba0ac"
|
||||
"#fab387"
|
||||
"#a6e3a1"
|
||||
"#94e2d5"
|
||||
"#89dceb"
|
||||
"#74c7ec"
|
||||
"#b4befe"
|
||||
];
|
||||
"avatar-background-colors" = [
|
||||
"#89b4fa"
|
||||
"#cba6f7"
|
||||
"#a6e3a1"
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
10
modules/desktop/home/packages.nix
Normal file
10
modules/desktop/home/packages.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
gimp
|
||||
vlc
|
||||
kitty
|
||||
kdePackages.kdeconnect-kde
|
||||
kdePackages.kcalc
|
||||
];
|
||||
}
|
||||
33
modules/desktop/home/vesktop.nix
Normal file
33
modules/desktop/home/vesktop.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
#themeFile = pkgs.writeFile "theme.css"
|
||||
# ''
|
||||
# @import url("https://catppuccin.github.io/discord/dist/catppuccin-mocha.theme.css");
|
||||
# '';
|
||||
in
|
||||
{
|
||||
programs.vesktop = {
|
||||
enable = true;
|
||||
settings = {
|
||||
appBadge = false;
|
||||
customTitleBar = true;
|
||||
spellCheckLanguages = ["pl" "en_US"];
|
||||
tray = false;
|
||||
};
|
||||
vencord = {
|
||||
settings = {
|
||||
autoUpdate = false;
|
||||
autoUpdateNotification = false;
|
||||
enabledThemes = ["catppuccin-mocha-mauve"];
|
||||
cloud = {
|
||||
authenticated = true;
|
||||
url = "https://api.vencord.dev/";
|
||||
settingsSync = true;
|
||||
};
|
||||
};
|
||||
#themes = {
|
||||
# "catppuccin-mocha-mauve" = themeFile;
|
||||
#};
|
||||
};
|
||||
};
|
||||
}
|
||||
105
modules/desktop/home/zen-browser/default.nix
Normal file
105
modules/desktop/home/zen-browser/default.nix
Normal file
@@ -0,0 +1,105 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
zenPkg = inputs.zen-browser.packages.${pkgs.stdenv.system}.beta;
|
||||
exts = inputs.firefox-addons.packages.${pkgs.stdenv.hostPlatform.system};
|
||||
ffExtensions = {
|
||||
force = true;
|
||||
# packages = with inputs.firefox-addons.packages."${pkgs.system}"; [
|
||||
# bitwarden
|
||||
# darkreader
|
||||
# ublock-origin
|
||||
# stylus
|
||||
# youtube-no-translation
|
||||
# youtube-shorts-block
|
||||
# ];
|
||||
settings = {
|
||||
#"8dc198b5-81b3-4602-88d7-7cee2d4903b2".force = true;
|
||||
#"8dc198b5-81b3-4602-88d7-7cee2d4903b2".settings = lib.importJSON ./stylus_import.json;
|
||||
#"8dc198b5-81b3-4602-88d7-7cee2d4903b2".settings = import ./stylus_import.nix;
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
programs.zen-browser = {
|
||||
enable = true;
|
||||
languagePacks = [
|
||||
"en-US"
|
||||
"pl"
|
||||
"de"
|
||||
];
|
||||
profiles = {
|
||||
default = {
|
||||
id = 0;
|
||||
name = "default";
|
||||
isDefault = true;
|
||||
settings = builtins.fromJSON (builtins.readFile ./settings.json);
|
||||
userChrome = builtins.readFile ./userChrome.css;
|
||||
search = {
|
||||
force = true;
|
||||
default = "brave";
|
||||
order = [ "brave" ];
|
||||
engines = builtins.fromJSON (builtins.readFile ./search-engines.json);
|
||||
};
|
||||
extensions = {
|
||||
packages = with exts; [
|
||||
bitwarden
|
||||
catppuccin-web-file-icons
|
||||
# facebook-container
|
||||
# facebook-tracking-removal
|
||||
# google-container
|
||||
linkwarden
|
||||
#remove-youtube-s-suggestions
|
||||
return-youtube-dislikes
|
||||
simplelogin
|
||||
stylus
|
||||
ublock-origin
|
||||
# web-scrobbler
|
||||
# webxr-api-emulator
|
||||
youtube-no-translation
|
||||
youtube-shorts-block
|
||||
#zen-internet
|
||||
];
|
||||
};
|
||||
mods = [
|
||||
"a6335949-4465-4b71-926c-4a52d34bc9c0"
|
||||
"f7c71d9a-bce2-420f-ae44-a64bd92975ab"
|
||||
"906c6915-5677-48ff-9bfc-096a02a72379"
|
||||
"f4866f39-cfd6-4498-ab92-54213b8279dc"
|
||||
"e51b85e6-cef5-45d4-9fff-6986637974e1"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
xdg.desktopEntries.zen-beta = {
|
||||
name = "Zen Browser";
|
||||
genericName = "Web Browser";
|
||||
exec = "${zenPkg}/bin/zen-beta --name zen-browser -P default %U";
|
||||
terminal = false;
|
||||
categories = [ "Network" "WebBrowser" ];
|
||||
mimeType = [
|
||||
"text/html"
|
||||
"text/xml"
|
||||
"application/xhtml+xml"
|
||||
"application/vnd.mozilla.xul+xml"
|
||||
"x-scheme-handler/http"
|
||||
"x-scheme-handler/https"
|
||||
];
|
||||
icon = ./furryfox.png;
|
||||
actions = {
|
||||
"new-window" = {
|
||||
name = "New Window";
|
||||
exec = "${zenPkg}/bin/zen-beta --name zen-browser -P default --new-window %u";
|
||||
};
|
||||
"private-window" = {
|
||||
name = "New Private Window";
|
||||
exec = "${zenPkg}/bin/zen-browser --name zen-browser -P default --private-window %u";
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
Type = "Application";
|
||||
Version = "1.4";
|
||||
StartupNotify = "true";
|
||||
StartupWMClass = "zen-browser";
|
||||
};
|
||||
};
|
||||
}
|
||||
BIN
modules/desktop/home/zen-browser/furryfox.png
Normal file
BIN
modules/desktop/home/zen-browser/furryfox.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
201
modules/desktop/home/zen-browser/search-engines.json
Normal file
201
modules/desktop/home/zen-browser/search-engines.json
Normal file
@@ -0,0 +1,201 @@
|
||||
{
|
||||
"brave": {
|
||||
"name": "Brave",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://search.brave.com/search",
|
||||
"params": [
|
||||
{ "name": "q", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://cdn.search.brave.com/serp/v3/_app/immutable/assets/favicon.acxxetWH.ico",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@brave", "@bs" ]
|
||||
},
|
||||
"youtube": {
|
||||
"name": "YouTube",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://youtube.com/results",
|
||||
"params": [
|
||||
{ "name": "search_query", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://www.youtube.com/s/desktop/f717390d/img/logos/favicon.ico",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@yt" ]
|
||||
},
|
||||
"nixosoptions": {
|
||||
"name": "NixOS Options",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://search.nixos.org/options",
|
||||
"params": [
|
||||
{ "name": "type", "value": "packages" },
|
||||
{ "name": "channel", "value": "unstable" },
|
||||
{ "name": "query", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg",
|
||||
"definedAliases": [ "@no" ]
|
||||
},
|
||||
"nixpackages": {
|
||||
"name": "Nix Packages",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://search.nixos.org/packages",
|
||||
"params": [
|
||||
{ "name": "type", "value": "packages" },
|
||||
{ "name": "channel", "value": "unstable" },
|
||||
{ "name": "query", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg",
|
||||
"definedAliases": [ "@np" ]
|
||||
},
|
||||
"wikinixosorg": {
|
||||
"name": "wiki.nixos.org",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://wiki.nixos.org/w/index.php",
|
||||
"params": [
|
||||
{ "name": "search", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg",
|
||||
"definedAliases": [ "@nw" ]
|
||||
},
|
||||
"archwiki": {
|
||||
"name": "ArchLinux Wiki",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://wiki.archlinux.org/w/index.php",
|
||||
"params": [
|
||||
{ "name": "search", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://wiki.archlinux.org/favicon.ico",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@aw" ]
|
||||
},
|
||||
"extranixhmoptions": {
|
||||
"name": "ExtraNix HM Options",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://home-manager-options.extranix.com/",
|
||||
"params": [
|
||||
{ "name": "release", "value": "master" },
|
||||
{ "name": "query", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://home-manager-options.extranix.com/images/favicon.png",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@hm" ]
|
||||
},
|
||||
"extranixnixbuiltins": {
|
||||
"name": "ExtraNix Nix Built-ins",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://nix-builtins-search.extranix.com/",
|
||||
"params": [
|
||||
{ "name": "query", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://nix-builtins-search.extranix.com/images/favicon.png",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@nb" ]
|
||||
},
|
||||
"steamdb": {
|
||||
"name": "SteamDB",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://steamdb.info/search/",
|
||||
"params": [
|
||||
{ "name": "a", "value": "all" },
|
||||
{ "name": "q", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://steamdb.info/static/img/applogo.svg",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@sdb" ]
|
||||
},
|
||||
"protondb": {
|
||||
"name": "ProtonDB",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://protondb.com/search",
|
||||
"params": [
|
||||
{ "name": "q", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://protondb.com/sites/protondb/images/site-logo.svg",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@pdb" ]
|
||||
},
|
||||
"kpwiki": {
|
||||
"name": "Kaiju Paradise Wiki",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://kaijuparadiseofficial.miraheze.org/w/index.php",
|
||||
"params": [
|
||||
{ "name": "search", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://kaijuparadiseofficial.miraheze.org/favicon.ico",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@kp" ]
|
||||
},
|
||||
"gopackages": {
|
||||
"name": "Go Packages",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://pkg.go.dev/search",
|
||||
"params": [
|
||||
{ "name": "q", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://pkg.go.dev/static/shared/icon/favicon.ico",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@go", "@gp" ]
|
||||
},
|
||||
"pypi": {
|
||||
"name": "PyPI",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://pypi.org/search",
|
||||
"params": [
|
||||
{ "name": "q", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://pypi.org/static/images/favicon.35549fe8.ico",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@pip", "@pypi", "@py" ]
|
||||
},
|
||||
"npm": {
|
||||
"name": "NPM Registry",
|
||||
"urls": [
|
||||
{
|
||||
"template": "https://npmjs.org/search",
|
||||
"params": [
|
||||
{ "name": "q", "value": "{searchTerms}" }
|
||||
]
|
||||
}
|
||||
],
|
||||
"icon": "https://static-production.npmjs.com/f1786e9b7cba9753ca7b9c40e8b98f67.png",
|
||||
"updateInterval": 86400000,
|
||||
"definedAliases": [ "@npm" ]
|
||||
}
|
||||
}
|
||||
229
modules/desktop/home/zen-browser/settings.json
Normal file
229
modules/desktop/home/zen-browser/settings.json
Normal file
@@ -0,0 +1,229 @@
|
||||
{
|
||||
"accessibility.typeaheadfind.flashBar": 0,
|
||||
"app.normandy.first_run": false,
|
||||
"app.normandy.migrationsApplied": 12,
|
||||
"app.update.lastUpdateTime.addon-background-update-timer": 1774516788,
|
||||
"app.update.lastUpdateTime.background-update-timer": 1774516788,
|
||||
"app.update.lastUpdateTime.browser-cleanup-thumbnails": 1774516788,
|
||||
"app.update.lastUpdateTime.glean-addons-daily": 1774516788,
|
||||
"app.update.lastUpdateTime.region-update-timer": 1774334255,
|
||||
"app.update.lastUpdateTime.rs-experiment-loader-timer": 1774422453,
|
||||
"app.update.lastUpdateTime.services-settings-poll-changes": 1774516788,
|
||||
"app.update.lastUpdateTime.xpi-signature-verification": 1774516788,
|
||||
"browser.aboutConfig.showWarning": false,
|
||||
"browser.bookmarks.addedImportButton": true,
|
||||
"browser.bookmarks.restore_default_bookmarks": false,
|
||||
"browser.contentblocking.category": "strict",
|
||||
"browser.display.document_color_use": 0,
|
||||
"browser.download.panel.shown": true,
|
||||
"browser.download.viewableInternally.typeWasRegistered.avif": true,
|
||||
"browser.download.viewableInternally.typeWasRegistered.jxl": true,
|
||||
"browser.download.viewableInternally.typeWasRegistered.webp": true,
|
||||
"browser.engagement.ctrlTab.has-used": true,
|
||||
"browser.engagement.downloads-button.has-used": true,
|
||||
"browser.ipProtection.locationListCache": "[{\"name\":\"CatchAll Anycast\",\"code\":\"US\",\"cities\":[{\"name\":\"USA\",\"code\":\"Q30\",\"servers\":[{\"port\":2499,\"hostname\":\"p.m1.fastly-masque.net\",\"quarantined\":false,\"protocols\":[{\"name\":\"connect\",\"host\":\"p.m1.fastly-masque.net\",\"port\":2499,\"scheme\":\"https\"}]}]}]}]",
|
||||
"browser.laterrun.bookkeeping.profileCreationTime": 1774334224,
|
||||
"browser.laterrun.bookkeeping.sessionCount": 1,
|
||||
"browser.laterrun.enabled": true,
|
||||
"browser.migration.version": 163,
|
||||
"browser.newtabpage.activity-stream.impressionId": "{34162131-90d7-4053-af19-48c58923da2f}",
|
||||
"browser.newtabpage.activity-stream.system.showWeatherOptIn": false,
|
||||
"browser.newtabpage.storageVersion": 1,
|
||||
"browser.pageActions.persistedActions": "{\"ids\":[\"bookmark\"],\"idsInUrlbar\":[\"bookmark\"],\"idsInUrlbarPreProton\":[],\"version\":1}",
|
||||
"browser.pagethumbnails.storage_version": 3,
|
||||
"browser.preferences.experimental.hidden": true,
|
||||
"browser.proton.toolbar.version": 3,
|
||||
"browser.region.update.updated": 1774334226,
|
||||
"browser.safebrowsing.provider.mozilla.lastupdatetime": "1774517278647",
|
||||
"browser.safebrowsing.provider.mozilla.nextupdatetime": "1774538878647",
|
||||
"browser.search.region": "PL",
|
||||
"browser.search.totalSearches": 56,
|
||||
"browser.sessionstore.upgradeBackup.latestBuildID": "20260315063056",
|
||||
"browser.shell.didSkipDefaultBrowserCheckOnFirstRun": true,
|
||||
"browser.shell.mostRecentDateSetAsDefault": "1774422453",
|
||||
"browser.startup.couldRestoreSession.count": 1,
|
||||
"browser.startup.homepage_override.buildID": "20260315063056",
|
||||
"browser.startup.homepage_override.mstone": "148.0.2",
|
||||
"browser.startup.lastColdStartupCheck": 1774422453,
|
||||
"browser.termsofuse.prefMigrationCheck": true,
|
||||
"browser.theme.toolbar-theme": 0,
|
||||
"browser.uiCustomization.state": "{\"placements\":{\"widget-overflow-fixed-list\":[],\"unified-extensions-area\":[\"ublock0_raymondhill_net-browser-action\",\"_bbb880ce-43c9-47ae-b746-c3e0096c5b76_-browser-action\",\"_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action\",\"_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action\",\"_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action\",\"_9a3104a2-02c2-464c-b069-82344e5ed4ec_-browser-action\",\"_799c0914-748b-41df-a25c-22d008f9e83f_-browser-action\",\"_bb1b80be-e6b3-40a1-9b6e-9d4073343f0b_-browser-action\"],\"nav-bar\":[\"back-button\",\"forward-button\",\"stop-reload-button\",\"customizableui-special-spring1\",\"vertical-spacer\",\"urlbar-container\",\"customizableui-special-spring2\",\"unified-extensions-button\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"addon_simplelogin-browser-action\",\"jordanlinkwarden_gmail_com-browser-action\"],\"toolbar-menubar\":[\"menubar-items\"],\"TabsToolbar\":[\"tabbrowser-tabs\"],\"vertical-tabs\":[],\"PersonalToolbar\":[\"import-button\",\"personal-bookmarks\"],\"zen-sidebar-top-buttons\":[\"zen-toggle-compact-mode\"],\"zen-sidebar-foot-buttons\":[\"downloads-button\",\"zen-workspaces-button\",\"zen-create-new-button\"]},\"seen\":[\"developer-button\",\"screenshot-button\",\"ublock0_raymondhill_net-browser-action\",\"_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action\",\"_bbb880ce-43c9-47ae-b746-c3e0096c5b76_-browser-action\",\"addon_simplelogin-browser-action\",\"jordanlinkwarden_gmail_com-browser-action\",\"_34daeb50-c2d2-4f14-886a-7160b24d66a4_-browser-action\",\"_762f9885-5a13-4abd-9c77-433dcd38b8fd_-browser-action\",\"_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-browser-action\",\"_9a3104a2-02c2-464c-b069-82344e5ed4ec_-browser-action\",\"_799c0914-748b-41df-a25c-22d008f9e83f_-browser-action\",\"_bb1b80be-e6b3-40a1-9b6e-9d4073343f0b_-browser-action\"],\"dirtyAreaCache\":[\"nav-bar\",\"vertical-tabs\",\"zen-sidebar-foot-buttons\",\"PersonalToolbar\",\"toolbar-menubar\",\"TabsToolbar\",\"zen-sidebar-top-buttons\",\"unified-extensions-area\"],\"currentVersion\":23,\"newElementCount\":2}",
|
||||
"browser.urlbar.lastUrlbarSearchSeconds": 1774516881,
|
||||
"browser.urlbar.quicksuggest.migrationVersion": 6,
|
||||
"browser.urlbar.recentsearches.lastDefaultChanged": "1774334439109",
|
||||
"browser.urlbar.suggest.clipboard": false,
|
||||
"browser.urlbar.suggest.engines": false,
|
||||
"browser.urlbar.suggest.history": false,
|
||||
"browser.urlbar.suggest.recentsearches": false,
|
||||
"captchadetection.lastSubmission": 1774334,
|
||||
"datareporting.dau.cachedUsageProfileGroupID": "adde67e1-23aa-48bf-a313-5323aa23030a",
|
||||
"datareporting.dau.cachedUsageProfileID": "fd6afd74-59c6-4b0c-a386-283290282e58",
|
||||
"devtools.everOpened": true,
|
||||
"devtools.netmonitor.columnsData": "[{\"name\":\"override\",\"minWidth\":20,\"width\":2},{\"name\":\"status\",\"minWidth\":30,\"width\":5.84},{\"name\":\"method\",\"minWidth\":30,\"width\":5.84},{\"name\":\"domain\",\"minWidth\":30,\"width\":11.66},{\"name\":\"file\",\"minWidth\":30,\"width\":29.16},{\"name\":\"url\",\"minWidth\":30,\"width\":25},{\"name\":\"initiator\",\"minWidth\":30,\"width\":11.66},{\"name\":\"type\",\"minWidth\":30,\"width\":5.84},{\"name\":\"transferred\",\"minWidth\":30,\"width\":11.66},{\"name\":\"contentSize\",\"minWidth\":30,\"width\":5.84},{\"name\":\"waterfall\",\"minWidth\":150,\"width\":12.5}]",
|
||||
"devtools.netmonitor.msg.visibleColumns": "[\"data\",\"time\"]",
|
||||
"devtools.responsive.reloadNotification.enabled": false,
|
||||
"devtools.toolsidebar-height.inspector": 350,
|
||||
"devtools.toolsidebar-width.inspector": 700,
|
||||
"devtools.toolsidebar-width.inspector.splitsidebar": 350,
|
||||
"doh-rollout.doneFirstRun": true,
|
||||
"doh-rollout.home-region": "PL",
|
||||
"dom.forms.autocomplete.formautofill": true,
|
||||
"dom.push.userAgentID": "112684a444c3411aaa0d623d72c00aee",
|
||||
"extensions.activeThemeID": "default-theme@mozilla.org",
|
||||
"extensions.blocklist.pingCountVersion": 0,
|
||||
"extensions.colorway-builtin-themes-cleanup": 1,
|
||||
"extensions.databaseSchema": 37,
|
||||
"extensions.lastAppBuildId": "20260315063056",
|
||||
"extensions.lastAppVersion": "1.19.3b",
|
||||
"extensions.lastPlatformVersion": "148.0.2",
|
||||
"extensions.pendingOperations": false,
|
||||
"extensions.pictureinpicture.enable_picture_in_picture_overrides": true,
|
||||
"extensions.quarantinedDomains.list": "autoatendimento.bb.com.br,ibpf.sicredi.com.br,ibpj.sicredi.com.br,internetbanking.caixa.gov.br,www.ib12.bradesco.com.br,www2.bancobrasil.com.br",
|
||||
"extensions.signatureCheckpoint": 1,
|
||||
"extensions.ui.dictionary.hidden": true,
|
||||
"extensions.ui.extension.hidden": false,
|
||||
"extensions.ui.locale.hidden": true,
|
||||
"extensions.ui.mlmodel.hidden": true,
|
||||
"extensions.ui.sitepermission.hidden": true,
|
||||
"extensions.webcompat.enable_interventions": true,
|
||||
"extensions.webcompat.enable_shims": true,
|
||||
"gecko.handlerService.defaultHandlersVersion": 1,
|
||||
"idle.lastDailyNotification": 1774422802,
|
||||
"media.gmp-gmpopenh264.abi": "x86_64-gcc3",
|
||||
"media.gmp-gmpopenh264.hashValue": "f5246bf14d038adf4ce0c4360262ab722bc3de4220f047c3d542b4c564074b4877dc8659e3125c5171c749e7ce93f20cc63777eb5e1539e960670cbc5f30ac85",
|
||||
"media.gmp-gmpopenh264.lastDownload": 1774334257,
|
||||
"media.gmp-gmpopenh264.lastInstallStart": 1774334256,
|
||||
"media.gmp-gmpopenh264.lastUpdate": 1774334257,
|
||||
"media.gmp-gmpopenh264.version": "2.6.0",
|
||||
"media.gmp-manager.buildID": "20260315063056",
|
||||
"media.gmp-manager.lastCheck": 1774422477,
|
||||
"media.gmp-manager.lastEmptyCheck": 1774422477,
|
||||
"media.gmp-widevinecdm.abi": "x86_64-gcc3",
|
||||
"media.gmp-widevinecdm.hashValue": "421214210a09a9f9ed8ce482ef857f1c2b29ce1739240d1ec99a61caa3d80db3393752275722bdf5f503489f12a753215fe8a0c82de3aca23780d4ffe5792eb1",
|
||||
"media.gmp-widevinecdm.lastDownload": 1774334258,
|
||||
"media.gmp-widevinecdm.lastInstallStart": 1774334256,
|
||||
"media.gmp-widevinecdm.lastUpdate": 1774334259,
|
||||
"media.gmp-widevinecdm.version": "4.10.2934.0",
|
||||
"media.gmp.storage.version.observed": 1,
|
||||
"media.videocontrols.picture-in-picture.video-toggle.first-seen-secs": 1774334392,
|
||||
"network.cookie.CHIPS.lastMigrateDatabase": 2,
|
||||
"network.dns.disablePrefetch": true,
|
||||
"network.http.referer.disallowCrossSiteRelaxingDefault.top_navigation": true,
|
||||
"network.http.speculative-parallel-limit": 0,
|
||||
"network.prefetch-next": false,
|
||||
"nimbus.migrations.after-remote-settings-update": 0,
|
||||
"nimbus.migrations.after-store-initialized": 3,
|
||||
"nimbus.migrations.init-started": 1,
|
||||
"nimbus.profileId": "f2d78231-16e6-4542-ab2a-871e816291ca",
|
||||
"nimbus.rollouts.enabled": false,
|
||||
"pdfjs.enabledCache.state": true,
|
||||
"pdfjs.migrationVersion": 2,
|
||||
"places.database.lastMaintenance": 1774336005,
|
||||
"privacy.annotate_channels.strict_list.enabled": true,
|
||||
"privacy.bounceTrackingProtection.hasMigratedUserActivationData": true,
|
||||
"privacy.bounceTrackingProtection.mode": 1,
|
||||
"privacy.clearOnShutdown_v2.formdata": true,
|
||||
"privacy.fingerprintingProtection": true,
|
||||
"privacy.globalprivacycontrol.was_ever_enabled": true,
|
||||
"privacy.purge_trackers.date_in_cookie_database": "0",
|
||||
"privacy.purge_trackers.last_purge": "1774422802819",
|
||||
"privacy.query_stripping.enabled": true,
|
||||
"privacy.query_stripping.enabled.pbmode": true,
|
||||
"privacy.sanitize.clearOnShutdown.hasMigratedToNewPrefs3": true,
|
||||
"privacy.sanitize.pending": "[{\"id\":\"newtab-container\",\"itemsToClear\":[],\"options\":{}}]",
|
||||
"privacy.trackingprotection.allow_list.hasMigratedCategoryPrefs": true,
|
||||
"privacy.trackingprotection.allow_list.hasUserInteractedWithETPSettings": true,
|
||||
"privacy.trackingprotection.consentmanager.skip.pbmode.enabled": false,
|
||||
"privacy.trackingprotection.emailtracking.enabled": true,
|
||||
"privacy.trackingprotection.enabled": true,
|
||||
"privacy.trackingprotection.socialtracking.enabled": true,
|
||||
"privacy.userContext.enabled": false,
|
||||
"services.settings.blocklists.addons-bloomfilters.last_check": 1774516798,
|
||||
"services.settings.blocklists.gfx.last_check": 1774516798,
|
||||
"services.settings.clock_skew_seconds": -973,
|
||||
"services.settings.last_etag": "\"1774516700820\"",
|
||||
"services.settings.last_update_seconds": 1774518671,
|
||||
"services.settings.main.addons-data-leak-blocker-domains.last_check": 1774516798,
|
||||
"services.settings.main.addons-manager-settings.last_check": 1774516798,
|
||||
"services.settings.main.anti-tracking-url-decoration.last_check": 1774516798,
|
||||
"services.settings.main.bounce-tracking-protection-exceptions.last_check": 1774516798,
|
||||
"services.settings.main.cfr.last_check": 1774516798,
|
||||
"services.settings.main.cookie-banner-rules-list.last_check": 1774516798,
|
||||
"services.settings.main.devtools-compatibility-browsers.last_check": 1774516798,
|
||||
"services.settings.main.devtools-devices.last_check": 1774516798,
|
||||
"services.settings.main.doh-config.last_check": 1774516798,
|
||||
"services.settings.main.doh-providers.last_check": 1774516798,
|
||||
"services.settings.main.fingerprinting-protection-overrides.last_check": 1774516798,
|
||||
"services.settings.main.fxmonitor-breaches.last_check": 1774516798,
|
||||
"services.settings.main.fxrelay-denylist.last_check": 1774516798,
|
||||
"services.settings.main.hijack-blocklists.last_check": 1774516798,
|
||||
"services.settings.main.language-dictionaries.last_check": 1774516798,
|
||||
"services.settings.main.message-groups.last_check": 1774516798,
|
||||
"services.settings.main.moz-essential-domain-fallbacks.last_check": 1774516798,
|
||||
"services.settings.main.newtab-frecency-boosted-sponsors.last_check": 1774516798,
|
||||
"services.settings.main.newtab-wallpapers-v2.last_check": 1774516798,
|
||||
"services.settings.main.nimbus-desktop-experiments.last_check": 1774516798,
|
||||
"services.settings.main.nimbus-secure-experiments.last_check": 1774516798,
|
||||
"services.settings.main.normandy-recipes-capabilities.last_check": 1774516798,
|
||||
"services.settings.main.partitioning-exempt-urls.last_check": 1774516798,
|
||||
"services.settings.main.password-recipes.last_check": 1774516798,
|
||||
"services.settings.main.password-rules.last_check": 1774516798,
|
||||
"services.settings.main.query-stripping.last_check": 1774516798,
|
||||
"services.settings.main.remote-permissions.last_check": 1774516798,
|
||||
"services.settings.main.search-categorization.last_check": 1774516798,
|
||||
"services.settings.main.search-config-icons.last_check": 1774516798,
|
||||
"services.settings.main.search-config-overrides-v2.last_check": 1774516798,
|
||||
"services.settings.main.search-config-v2.last_check": 1774516798,
|
||||
"services.settings.main.search-default-override-allowlist.last_check": 1774516798,
|
||||
"services.settings.main.search-telemetry-v2.last_check": 1774516798,
|
||||
"services.settings.main.sites-classification.last_check": 1774516798,
|
||||
"services.settings.main.third-party-cookie-blocking-exempt-urls.last_check": 1774516798,
|
||||
"services.settings.main.tippytop.last_check": 1774516798,
|
||||
"services.settings.main.top-sites.last_check": 1774516798,
|
||||
"services.settings.main.tracking-protection-lists.last_check": 1774516798,
|
||||
"services.settings.main.translations-models-v2.last_check": 1774516798,
|
||||
"services.settings.main.translations-models.last_check": 1774516798,
|
||||
"services.settings.main.translations-wasm.last_check": 1774516798,
|
||||
"services.settings.main.url-classifier-exceptions.last_check": 1774516798,
|
||||
"services.settings.main.url-classifier-skip-urls.last_check": 1774516798,
|
||||
"services.settings.main.url-parser-default-unknown-schemes-interventions.last_check": 1774516798,
|
||||
"services.settings.main.urlbar-persisted-search-terms.last_check": 1774516798,
|
||||
"services.settings.main.vpn-serverlist.last_check": 1774516798,
|
||||
"services.settings.main.webcompat-interventions.last_check": 1774516798,
|
||||
"services.settings.main.websites-with-shared-credential-backends.last_check": 1774516798,
|
||||
"services.settings.security-state.cert-revocations.last_check": 1774516798,
|
||||
"services.settings.security-state.intermediates.last_check": 1774516798,
|
||||
"services.settings.security-state.onecrl.last_check": 1774516798,
|
||||
"services.sync.clients.lastSync": "0",
|
||||
"services.sync.declinedEngines": "",
|
||||
"services.sync.globalScore": 0,
|
||||
"services.sync.nextSync": 0,
|
||||
"sidebar.backupState": "{\"command\":\"viewHistorySidebar\",\"panelOpen\":false,\"launcherExpanded\":false,\"launcherVisible\":false}",
|
||||
"sidebar.main.tools": "{446900e4-71c2-419f-a6a7-df9c091e268b}",
|
||||
"sidebar.old-sidebar.has-used": true,
|
||||
"sidebar.visibility": "hide-sidebar",
|
||||
"signon.rememberSignons": false,
|
||||
"storage.vacuum.last.content-prefs.sqlite": 1774422802,
|
||||
"storage.vacuum.last.index": 1,
|
||||
"storage.vacuum.last.places.sqlite": 1774336005,
|
||||
"toolkit.profiles.storeID": "ec86175a",
|
||||
"toolkit.startup.last_success": 1774422449,
|
||||
"toolkit.telemetry.cachedClientID": "db6ff3c4-7baf-4ea9-a890-4ec58a05ef11",
|
||||
"toolkit.telemetry.cachedProfileGroupID": "2eb8d1d6-3833-4429-8f8e-c258ae9308e4",
|
||||
"toolkit.telemetry.reportingpolicy.firstRun": false,
|
||||
"zen.ui.migration.compact-mode-button-added": true,
|
||||
"zen.ui.migration.version": 6,
|
||||
"zen.updates.last-build-id": "20260315063056",
|
||||
"zen.updates.last-version": "1.19.3b",
|
||||
"zen.urlbar.behavior": "normal",
|
||||
"zen.urlbar.suggestions-learner": "{\"Browser:Screenshot\":-3,\"cmd_close\":-1,\"Browser:ReloadSkipCache\":-3,\"zen:extension-{446900e4-71c2-419f-a6a7-df9c091e268b}\":-1,\"Tools:Addons\":-1,\"cmd_zenNewEmptySplit\":-3,\"Tools:PrivateBrowsing\":-1,\"cmd_find\":-1,\"Browser:Reload\":-1,\"Browser:NextTab\":-1,\"cmd_zenNewNavigatorUnsynced\":-1}",
|
||||
"zen.view.compact.enable-at-startup": true,
|
||||
"zen.view.compact.toolbar-flash-popup": true,
|
||||
"zen.view.use-single-toolbar": false,
|
||||
"zen.welcome-screen.seen": true,
|
||||
"zen.workspaces.active": "{9db127b8-1ac1-4faf-b57d-8f9c226d5db3}",
|
||||
"zen.workspaces.continue-where-left-off": true,
|
||||
"zen.workspaces.hide-default-container-indicator": false,
|
||||
"zen.workspaces.separate-essentials": false,
|
||||
"toolkit.legacyUserProfileCustomizations.stylesheets": true
|
||||
}
|
||||
15
modules/desktop/home/zen-browser/settings.removed.json
Normal file
15
modules/desktop/home/zen-browser/settings.removed.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.uBlock0@raymondhill.net": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{21f1ba12-47e1-4a9b-ad4e-3a0260bbeb26}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{34daeb50-c2d2-4f14-886a-7160b24d66a4}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{446900e4-71c2-419f-a6a7-df9c091e268b}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{799c0914-748b-41df-a25c-22d008f9e83f}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{91aa3897-2634-4a8a-9092-279db23a7689}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{bb1b80be-e6b3-40a1-9b6e-9d4073343f0b}": true,
|
||||
"sidebar.installed.extensions": "{446900e4-71c2-419f-a6a7-df9c091e268b}",
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{bbb880ce-43c9-47ae-b746-c3e0096c5b76}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.{c9bd631a-fdc3-488d-b083-0fed11cefb84}": true,
|
||||
"extensions.webextensions.ExtensionStorageIDB.migrated.jordanlinkwarden@gmail.com": true,
|
||||
"extensions.webextensions.uuids": "{\"data-leak-blocker@mozilla.com\":\"570b81e4-6c95-4fa3-ba4a-89abf764af45\",\"formautofill@mozilla.org\":\"3b03917b-2991-45b0-b61e-46cb7a67ecc2\",\"ipp-activator@mozilla.com\":\"92808012-a4c0-4506-89ba-f96a6778ec83\",\"pictureinpicture@mozilla.org\":\"f4b7706b-4f1b-4e2d-8b1e-3acd5a48ef1a\",\"addons-search-detection@mozilla.com\":\"c609719f-f812-40ca-8d44-212c078b5cd8\",\"webcompat@mozilla.org\":\"9a310967-e580-48bf-b3e8-4eafebbc122d\",\"newtab@mozilla.org\":\"81c41163-1e8b-4487-a3be-37b69fb41453\",\"default-theme@mozilla.org\":\"07c4d8d0-6422-461b-b63e-f9a6dbc5c0b7\",\"uBlock0@raymondhill.net\":\"5c9ee92a-e37a-4e2f-82b3-b9c6a6bf2e07\",\"{446900e4-71c2-419f-a6a7-df9c091e268b}\":\"1a270463-2b6e-44eb-bc16-7c26cc4c0754\",\"addon@simplelogin\":\"1be60c48-1463-44ac-99a4-f38b5b4d1268\",\"jordanlinkwarden@gmail.com\":\"9894c98b-a03b-417e-a620-ce99fad1af73\",\"{34daeb50-c2d2-4f14-886a-7160b24d66a4}\":\"436ebd50-35a2-4e05-aabf-5c6cf7b22107\",\"{762f9885-5a13-4abd-9c77-433dcd38b8fd}\":\"f2b041a8-5bf7-4ba7-873e-b47e0929746f\",\"{799c0914-748b-41df-a25c-22d008f9e83f}\":\"d259d66f-726d-400f-b622-5e8d1af0684e\",\"{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}\":\"aca0ea83-1a2d-4176-92ce-b4afbd8e7707\",\"{9a3104a2-02c2-464c-b069-82344e5ed4ec}\":\"eeb595ee-cb00-45b4-9c50-4c5e29940c75\",\"{bb1b80be-e6b3-40a1-9b6e-9d4073343f0b}\":\"e1ceb8dd-a5f6-490c-b5f1-20abd0e563b8\",\"{bbb880ce-43c9-47ae-b746-c3e0096c5b76}\":\"63bcfa89-5819-449b-a4c3-153517eedd7a\"}}"
|
||||
}
|
||||
1
modules/desktop/home/zen-browser/stylus-import.json
Normal file
1
modules/desktop/home/zen-browser/stylus-import.json
Normal file
File diff suppressed because one or more lines are too long
130
modules/desktop/home/zen-browser/userChrome.css
Normal file
130
modules/desktop/home/zen-browser/userChrome.css
Normal file
@@ -0,0 +1,130 @@
|
||||
/* Catppuccin Mocha Mauve userChrome.css*/
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--zen-colors-primary: #313244 !important;
|
||||
--zen-primary-color: #cba6f7 !important;
|
||||
--zen-colors-secondary: #313244 !important;
|
||||
--zen-colors-tertiary: #181825 !important;
|
||||
--zen-colors-border: #cba6f7 !important;
|
||||
--toolbarbutton-icon-fill: #cba6f7 !important;
|
||||
--lwt-text-color: #cdd6f4 !important;
|
||||
--toolbar-field-color: #cdd6f4 !important;
|
||||
--tab-selected-textcolor: rgb(204, 190, 246) !important;
|
||||
--toolbar-field-focus-color: #cdd6f4 !important;
|
||||
--toolbar-color: #cdd6f4 !important;
|
||||
--newtab-text-primary-color: #cdd6f4 !important;
|
||||
--arrowpanel-color: #cdd6f4 !important;
|
||||
--arrowpanel-background: #1e1e2e !important;
|
||||
--sidebar-text-color: #cdd6f4 !important;
|
||||
--lwt-sidebar-text-color: #cdd6f4 !important;
|
||||
--lwt-sidebar-background-color: #11111b !important;
|
||||
--toolbar-bgcolor: #313244 !important;
|
||||
--newtab-background-color: #1e1e2e !important;
|
||||
--zen-themed-toolbar-bg: #181825 !important;
|
||||
--zen-main-browser-background: #181825 !important;
|
||||
--toolbox-bgcolor-inactive: #181825 !important;
|
||||
}
|
||||
|
||||
#permissions-granted-icon {
|
||||
color: #181825 !important;
|
||||
}
|
||||
|
||||
.sidebar-placesTree {
|
||||
background-color: #1e1e2e !important;
|
||||
}
|
||||
|
||||
#zen-workspaces-button {
|
||||
background-color: #1e1e2e !important;
|
||||
}
|
||||
|
||||
#TabsToolbar {
|
||||
background-color: #181825 !important;
|
||||
}
|
||||
|
||||
.urlbar-background {
|
||||
background-color: #1e1e2e !important;
|
||||
}
|
||||
|
||||
.content-shortcuts {
|
||||
background-color: #1e1e2e !important;
|
||||
border-color: #cba6f7 !important;
|
||||
}
|
||||
|
||||
.urlbarView-url {
|
||||
color: #cba6f7 !important;
|
||||
}
|
||||
|
||||
#zenEditBookmarkPanelFaviconContainer {
|
||||
background: #11111b !important;
|
||||
}
|
||||
|
||||
#zen-media-controls-toolbar {
|
||||
& #zen-media-progress-bar {
|
||||
&::-moz-range-track {
|
||||
background: #313244 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
toolbar .toolbarbutton-1 {
|
||||
&:not([disabled]) {
|
||||
&:is([open], [checked])
|
||||
> :is(
|
||||
.toolbarbutton-icon,
|
||||
.toolbarbutton-text,
|
||||
.toolbarbutton-badge-stack
|
||||
) {
|
||||
fill: #11111b;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.identity-color-blue {
|
||||
--identity-tab-color: #89b4fa !important;
|
||||
--identity-icon-color: #89b4fa !important;
|
||||
}
|
||||
|
||||
.identity-color-turquoise {
|
||||
--identity-tab-color: #94e2d5 !important;
|
||||
--identity-icon-color: #94e2d5 !important;
|
||||
}
|
||||
|
||||
.identity-color-green {
|
||||
--identity-tab-color: #a6e3a1 !important;
|
||||
--identity-icon-color: #a6e3a1 !important;
|
||||
}
|
||||
|
||||
.identity-color-yellow {
|
||||
--identity-tab-color: #f9e2af !important;
|
||||
--identity-icon-color: #f9e2af !important;
|
||||
}
|
||||
|
||||
.identity-color-orange {
|
||||
--identity-tab-color: #fab387 !important;
|
||||
--identity-icon-color: #fab387 !important;
|
||||
}
|
||||
|
||||
.identity-color-red {
|
||||
--identity-tab-color: #f38ba8 !important;
|
||||
--identity-icon-color: #f38ba8 !important;
|
||||
}
|
||||
|
||||
.identity-color-pink {
|
||||
--identity-tab-color: #f5c2e7 !important;
|
||||
--identity-icon-color: #f5c2e7 !important;
|
||||
}
|
||||
|
||||
.identity-color-purple {
|
||||
--identity-tab-color: #cba6f7 !important;
|
||||
--identity-icon-color: #cba6f7 !important;
|
||||
}
|
||||
|
||||
hbox#titlebar {
|
||||
background-color: #181825 !important;
|
||||
}
|
||||
|
||||
#zen-appcontent-navbar-container {
|
||||
background-color: #181825 !important;
|
||||
}
|
||||
}
|
||||
4
modules/desktop/tailscale.nix
Normal file
4
modules/desktop/tailscale.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
3
modules/development/README.md
Normal file
3
modules/development/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This module contains development-focused configuration.
|
||||
|
||||
TLDR: Runtimes, direnv, IDE configuration, virt-manager
|
||||
11
modules/development/default.nix
Normal file
11
modules/development/default.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
imports = [
|
||||
./direnv.nix
|
||||
./packages.nix
|
||||
./virt-manager.nix
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
./home
|
||||
];
|
||||
}
|
||||
6
modules/development/direnv.nix
Normal file
6
modules/development/direnv.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
}
|
||||
10
modules/development/home/default.nix
Normal file
10
modules/development/home/default.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
imports = [
|
||||
./git.nix
|
||||
./vscode.nix
|
||||
];
|
||||
|
||||
programs = {
|
||||
zellij.enable = true;
|
||||
};
|
||||
}
|
||||
32
modules/development/home/git.nix
Normal file
32
modules/development/home/git.nix
Normal file
@@ -0,0 +1,32 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
git-credential-manager
|
||||
];
|
||||
|
||||
programs.git = {
|
||||
enable = true;
|
||||
package = pkgs.gitMinimal;
|
||||
lfs.enable = true;
|
||||
userName = "Ghostfox";
|
||||
|
||||
extraConfig = {
|
||||
init.defaultBranch = "main";
|
||||
|
||||
credential = {
|
||||
helper = "manager";
|
||||
credentialStore = "secretservice";
|
||||
|
||||
"https://github.com" = {
|
||||
username = "kpghostfox";
|
||||
email = "kpghostfox@int.pl";
|
||||
};
|
||||
|
||||
"https://hazzy.nonamesoft.xyz" = {
|
||||
username = "ghostfox";
|
||||
email = "ghostfox@laminax.local";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
34
modules/development/home/vscode.nix
Normal file
34
modules/development/home/vscode.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ osConfig, lib, pkgs, ... }:
|
||||
let
|
||||
hasGui = osConfig.services.dbus.implementation == "dbus";
|
||||
baseConfig = {};
|
||||
exts = pkgs.vscode-extensions;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf hasGui
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
extensions = with exts; [
|
||||
bbenoist.nix
|
||||
svelte.svelte-vscode
|
||||
ms-python.python
|
||||
ms-python.debugpy
|
||||
ms-python.pylint
|
||||
golang.go
|
||||
github.vscode-github-actions
|
||||
ms-vsliveshare.vsliveshare
|
||||
prettier.prettier-vscode
|
||||
sumneko.lua
|
||||
astro-build.astro-vscode
|
||||
ms-vscode.cpptools
|
||||
mesonbuild.mesonbuild
|
||||
skellock.just
|
||||
docker.docker
|
||||
redhat.vscode-yaml
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
15
modules/development/packages.nix
Normal file
15
modules/development/packages.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Languages
|
||||
nodejs
|
||||
python3
|
||||
go
|
||||
just
|
||||
nodejs
|
||||
|
||||
|
||||
# Tooling
|
||||
zellij
|
||||
];
|
||||
}
|
||||
11
modules/development/virt-manager.nix
Normal file
11
modules/development/virt-manager.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
hasGui = config.services.dbus.implementation == "dbus";
|
||||
in
|
||||
{
|
||||
config = lib.mkIf hasGui
|
||||
{
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
};
|
||||
}
|
||||
3
modules/gaming/README.md
Normal file
3
modules/gaming/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This module contains gaming-related configurations.
|
||||
|
||||
TLDR: Steam, Prism Launcher, MangoHud, Gamemode
|
||||
19
modules/gaming/default.nix
Normal file
19
modules/gaming/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./nix-ld.nix
|
||||
./obs.nix
|
||||
./prismlauncher.nix
|
||||
./steam.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
audacity
|
||||
blender
|
||||
ffmpeg
|
||||
qpwgraph
|
||||
qsstv
|
||||
handbrake
|
||||
wineWow64Packages.waylandFull
|
||||
];
|
||||
}
|
||||
14
modules/gaming/nix-ld.nix
Normal file
14
modules/gaming/nix-ld.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
libraries = with pkgs; [
|
||||
libx11
|
||||
libxext
|
||||
glibc
|
||||
alsa-oss
|
||||
openal
|
||||
libpulseaudio
|
||||
];
|
||||
};
|
||||
}
|
||||
6
modules/gaming/obs.nix
Normal file
6
modules/gaming/obs.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
programs.obs-studio = {
|
||||
enable = true;
|
||||
enableVirtualCamera = true;
|
||||
};
|
||||
}
|
||||
51
modules/gaming/prismlauncher.nix
Normal file
51
modules/gaming/prismlauncher.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
(prismlauncher.override {
|
||||
additionalLibs = [
|
||||
glib
|
||||
nss
|
||||
nspr
|
||||
atk
|
||||
at-spi2-atk
|
||||
libdrm
|
||||
expat
|
||||
libgbm
|
||||
gtk3
|
||||
pango
|
||||
cairo
|
||||
alsa-lib
|
||||
dbus
|
||||
at-spi2-core
|
||||
cups
|
||||
libxcb
|
||||
libx11
|
||||
libxcomposite
|
||||
libxdamage
|
||||
libxext
|
||||
libxfixes
|
||||
libxrandr
|
||||
libxkbcommon
|
||||
libvlc
|
||||
];
|
||||
|
||||
additionalPrograms = [
|
||||
ffmpeg
|
||||
python3
|
||||
zenity
|
||||
vlc
|
||||
];
|
||||
|
||||
textToSpeechSupport = false;
|
||||
|
||||
jdks = [
|
||||
# graalvmPackages.graalvm-ce
|
||||
temurin-jre-bin-8
|
||||
temurin-jre-bin-11
|
||||
temurin-jre-bin-17
|
||||
temurin-jre-bin
|
||||
# temurin-jre-bin-25
|
||||
];
|
||||
})
|
||||
];
|
||||
}
|
||||
24
modules/gaming/steam.nix
Normal file
24
modules/gaming/steam.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
gamemode = {
|
||||
enable = true;
|
||||
enableRenice = true;
|
||||
};
|
||||
|
||||
gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
|
||||
steam = {
|
||||
enable = true;
|
||||
extest.enable = true;
|
||||
protontricks.enable = true;
|
||||
};
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
mangojuice
|
||||
mangohud
|
||||
];
|
||||
}
|
||||
3
modules/school/README.md
Normal file
3
modules/school/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
This module contains school-related stuff.
|
||||
|
||||
TLDR: Virtualbox, Trilium, school Zen Browser profile
|
||||
35
modules/school/cups.nix
Normal file
35
modules/school/cups.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
# Service discovery
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
nssmdns4 = true;
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
# CUPS
|
||||
services.printing = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Printer configuration
|
||||
hardware.printers = {
|
||||
ensurePrinters = [
|
||||
{
|
||||
name = "DJ_pier*****a_drukarka_HP";
|
||||
location = "piekło";
|
||||
# deviceUri = "dnssd://HP%20Ink%20Tank%20Wireless%20410%20series%20%5BDD2297%5D._ipp._tcp.local/?uuid=1c852a4d-b800-1f08-abcd-84a93edd2297";
|
||||
deviceUri = "ipp://192.168.100.20:631/ipp/print";
|
||||
model = "everywhere";
|
||||
ppdOptions = {
|
||||
PageSize = "A4";
|
||||
};
|
||||
}
|
||||
];
|
||||
ensureDefaultPrinter = "DJ_pier*****a_drukarka_HP";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
simple-scan
|
||||
];
|
||||
}
|
||||
19
modules/school/default.nix
Normal file
19
modules/school/default.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./cups.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
anydesk
|
||||
openboard
|
||||
trilium-desktop
|
||||
];
|
||||
|
||||
virtualisation.virtualbox.host = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# Zen Browser configuration
|
||||
home-manager.sharedModules = [./home.nix];
|
||||
}
|
||||
45
modules/school/home.nix
Normal file
45
modules/school/home.nix
Normal file
@@ -0,0 +1,45 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
let
|
||||
zenPkg = inputs.zen-browser.packages.${pkgs.stdenv.system}.beta;
|
||||
in
|
||||
{
|
||||
programs.zen-browser.profiles.school = {
|
||||
id = 1;
|
||||
name = "school";
|
||||
# extensions.force = true;
|
||||
#extensions = ffExtensions;
|
||||
#settings = ffSettings;
|
||||
};
|
||||
xdg.desktopEntries.zen-browser_school = {
|
||||
name = "Zen Browser (School)";
|
||||
genericName = "Web Browser (School)";
|
||||
exec = "${zenPkg}/bin/zen-beta --name zen-browser_school -P school %U";
|
||||
terminal = false;
|
||||
categories = [ "Network" "WebBrowser" ];
|
||||
mimeType = [
|
||||
"text/html"
|
||||
"text/xml"
|
||||
"application/xhtml+xml"
|
||||
"application/vnd.mozilla.xul+xml"
|
||||
"x-scheme-handler/http"
|
||||
"x-scheme-handler/https"
|
||||
];
|
||||
icon = "zen-browser";
|
||||
actions = {
|
||||
"new-window" = {
|
||||
name = "New Window";
|
||||
exec = "${zenPkg}/bin/zen-beta --name zen-browser_school -P school --new-window %u";
|
||||
};
|
||||
"private-window" = {
|
||||
name = "New Private Window";
|
||||
exec = "${zenPkg}/bin/zen-beta --name zen-browser_school -P school --private-window %u";
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
Type = "Application";
|
||||
Version = "1.4";
|
||||
StartupNotify = "true";
|
||||
StartupWMClass = "zen-browser_school";
|
||||
};
|
||||
};
|
||||
}
|
||||
12
modules/server/default.nix
Normal file
12
modules/server/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./docker.nix
|
||||
./packages.nix
|
||||
./zerotier.nix
|
||||
];
|
||||
|
||||
system.nixos.variantName = lib.mkDefault "Server";
|
||||
system.nixos.variant_id = lib.mkDefault "server";
|
||||
services.openssh.enable = true;
|
||||
}
|
||||
25
modules/server/docker.nix
Normal file
25
modules/server/docker.nix
Normal file
@@ -0,0 +1,25 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
virtualisation.docker = {
|
||||
enable = true;
|
||||
daemon.settings = {
|
||||
experimental = true;
|
||||
default-address-pools = [
|
||||
{
|
||||
base = "172.16.0.0/8";
|
||||
size = 25;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
services.cron = {
|
||||
enable = true;
|
||||
systemCronJobs = [
|
||||
"0 5 * * * root docker system prune -f"
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
docker-compose
|
||||
];
|
||||
}
|
||||
6
modules/server/packages.nix
Normal file
6
modules/server/packages.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
sops
|
||||
];
|
||||
}
|
||||
8
modules/server/zerotier.nix
Normal file
8
modules/server/zerotier.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
services.zerotierone = {
|
||||
enable = true;
|
||||
joinNetworks = [
|
||||
"65228d8d6d1388c8"
|
||||
];
|
||||
};
|
||||
}
|
||||
0
pkgs/.keep
Normal file
0
pkgs/.keep
Normal file
0
secrets/kurin.yaml
Normal file
0
secrets/kurin.yaml
Normal file
107
systems/kurin/configuration.nix
Normal file
107
systems/kurin/configuration.nix
Normal file
@@ -0,0 +1,107 @@
|
||||
{ config, pkgs, lib, inputs, ... }:
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../../modules/base
|
||||
../../modules/development
|
||||
../../modules/server
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostName = "kurin";
|
||||
|
||||
# hardware.raspberry-pi."4" = {
|
||||
# dwc2.enable = true;
|
||||
# };
|
||||
|
||||
# Secrets
|
||||
imports = [
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = ../../secrets/kurin.yaml;
|
||||
defaultSopsFormat = "yaml";
|
||||
};
|
||||
|
||||
sops.secrets."users_dark_password".neededForUsers = true;
|
||||
users.users.dark.hashedPasswordFile = config.sops.secrets."users_dark_password".path;
|
||||
|
||||
|
||||
## SSH Host Key
|
||||
#services.openssh.hostKeys = [{
|
||||
# path = config.sops.secrets.host_private_key.path;
|
||||
# type = "ed25519";
|
||||
#}];
|
||||
#sops.secrets.host_private_key.restartUnits = ["sshd.service"];
|
||||
# boot.initrd.secrets = {
|
||||
# "/etc/dropbear/ssh_host_key" = lib.mkForce config.sops.secrets.host_private_key.path;
|
||||
# };
|
||||
|
||||
# NFS support
|
||||
# boot.supportedFilesystems = {
|
||||
# nfs = true;
|
||||
# };
|
||||
# environment.systemPackages = with pkgs; [
|
||||
# nfs-utils
|
||||
# ];
|
||||
|
||||
|
||||
fileSystems."/boot/firmware".options = lib.mkForce [ "nofail" ];
|
||||
#fileSystems."/".fsType = lib.mkForce "btrfs";
|
||||
#fileSystems."/".options = lib.mkForce [ "compress=lz0" ];
|
||||
|
||||
sdImage = {
|
||||
compressImage = false;
|
||||
firmwarePartitionName = "boot";
|
||||
firmwareSize = 256;
|
||||
};
|
||||
|
||||
# fileSystems."/containers" = {
|
||||
# mountPoint = "/containers";
|
||||
# device = "192.168.10.108:/i-data/3c7fc725/nfs/compose";
|
||||
# fsType = "nfs";
|
||||
# options = [ "vers=3" "soft" "intr" "nolock" "acl" "ac" ];
|
||||
# };
|
||||
|
||||
#systemd.mounts.containers = {
|
||||
# requires = [ "network-online.target" ];
|
||||
#};
|
||||
|
||||
# systemd.services.docker = {
|
||||
# after = [ "containers.mount" ];
|
||||
# requires = [ "containers.mount" ];
|
||||
# wantedBy = lib.mkForce [];
|
||||
# };
|
||||
|
||||
# systemd.sockets.docker.upheldBy = [ "containers.mount" ];
|
||||
|
||||
#fileSystems."/var/lib/docker" = {
|
||||
# mountPoint = "/var/lib/docker";
|
||||
#fsType = "glusterfs";
|
||||
#device = "sircu.pi:kurin-docker";
|
||||
#fsType = "nfs";
|
||||
#device = "192.168.10.108:/kurin-docker";
|
||||
#options = [ "nfsvers=4.0" ];
|
||||
#};
|
||||
|
||||
#zramSwap = {
|
||||
# enable = true;
|
||||
# algorithm = "zstd";
|
||||
# memoryPercent = 40;
|
||||
#};
|
||||
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
networks = {
|
||||
"Sinox" = {
|
||||
pskRaw = "ext:Sinox";
|
||||
};
|
||||
};
|
||||
scanOnLowSignal = false;
|
||||
secretsFile = config.sops.secrets."wireless_passwords".path;
|
||||
userControlled = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
118
systems/saturn/configuration.nix
Normal file
118
systems/saturn/configuration.nix
Normal file
@@ -0,0 +1,118 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
../../modules/base
|
||||
../../modules/desktop
|
||||
../../modules/development
|
||||
../../modules/gaming
|
||||
../../modules/school
|
||||
../../modules/server
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
|
||||
virtualisation.docker.storageDriver = "btrfs";
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
networking.hostName = "saturn"; # Define your hostname.
|
||||
|
||||
# Configure network connections interactively with nmcli or nmtui.
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# Set your time zone.
|
||||
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||
|
||||
# Select internationalisation properties.
|
||||
# i18n.defaultLocale = "en_US.UTF-8";
|
||||
# console = {
|
||||
# font = "Lat2-Terminus16";
|
||||
# keyMap = "us";
|
||||
# useXkbConfig = true; # use xkb.options in tty.
|
||||
# };
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
# services.xserver.enable = true;
|
||||
|
||||
|
||||
|
||||
|
||||
# Configure keymap in X11
|
||||
# services.xserver.xkb.layout = "us";
|
||||
# services.xserver.xkb.options = "eurosign:e,caps:escape";
|
||||
|
||||
# Enable CUPS to print documents.
|
||||
# services.printing.enable = true;
|
||||
|
||||
# Enable sound.
|
||||
# services.pulseaudio.enable = true;
|
||||
# OR
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
pulse.enable = true;
|
||||
};
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.dark = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
"video"
|
||||
]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
];
|
||||
};
|
||||
|
||||
services.displayManager.plasma-login-manager.enable = true;
|
||||
services.desktopManager.plasma6.enable = true;
|
||||
|
||||
# programs.vscode.enable = true;
|
||||
# programs.firefox.enable = true;
|
||||
|
||||
# List packages installed in system profile.
|
||||
# You can use https://search.nixos.org/ to find more packages (and options).
|
||||
environment.systemPackages = with pkgs; [
|
||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
wget
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
# programs.gnupg.agent = {
|
||||
# enable = true;
|
||||
# enableSSHSupport = true;
|
||||
# };
|
||||
|
||||
# List services that you want to enable:
|
||||
|
||||
# # Enable the OpenSSH daemon.
|
||||
# services.openssh.enable = true;
|
||||
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
networking.firewall.enable = false;
|
||||
|
||||
system.stateVersion = "25.11"; # Did you read the comment?
|
||||
|
||||
}
|
||||
|
||||
33
systems/saturn/hardware-configuration.nix
Normal file
33
systems/saturn/hardware-configuration.nix
Normal file
@@ -0,0 +1,33 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "sd_mod" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/69ebc0dd-4180-4ea1-8128-9e4bf5ef1bb7";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/boot/efi" =
|
||||
{ device = "/dev/disk/by-uuid/4264-73CA";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-uuid/fd3ababc-4fe6-4db9-a259-ab83b6f1aa1d"; }
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
Reference in New Issue
Block a user