46
flake.lock
generated
46
flake.lock
generated
@@ -28,11 +28,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1721417620,
|
"lastModified": 1721871128,
|
||||||
"narHash": "sha256-6q9b1h8fI3hXg2DG6/vrKWCeG8c5Wj2Kvv22RCgedzg=",
|
"narHash": "sha256-NyWVCnSeePnJHGJxZ0l3zdGQGrVjUcx2IJbV8KIsPf0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "disko",
|
"repo": "disko",
|
||||||
"rev": "bec6e3cde912b8acb915fecdc509eda7c973fb42",
|
"rev": "55e874b9c14764cb791e5740f0e92202e41393fc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -48,11 +48,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720880905,
|
"lastModified": 1721900142,
|
||||||
"narHash": "sha256-HTQhSHuLeVAcUqmYyYggHjinR9ZMfoMja3chp/5uCJw=",
|
"narHash": "sha256-iHIWZxwDfoqpNKxvjSzqzXNIPxI/5KgPmhtNrY2Z+40=",
|
||||||
"owner": "karaolidis",
|
"owner": "karaolidis",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "d60b0a5ff6e8a3004016f072e4d110033c2c7d06",
|
"rev": "0828ae6830ae112ce36c8338e3223a751cefa05d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -80,11 +80,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1721430942,
|
"lastModified": 1721928253,
|
||||||
"narHash": "sha256-umtjLBZTpyPxi92BaHGnzlAg1RVZE8odRhjMxY7hVCc=",
|
"narHash": "sha256-xuLwutgAyYIwb2mmBJgWHTTfnS0lIDXVzjZUBK6d9hk=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "f29426dca8ccacd68ea6afb1bbc317158b5e1df2",
|
"rev": "45cbf8d42fff56fcac72bbd31292eb381134be93",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -96,11 +96,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-stable": {
|
"nixpkgs-stable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720915306,
|
"lastModified": 1721524707,
|
||||||
"narHash": "sha256-6vuViC56+KSr+945bCV8akHK+7J5k6n/epYg/W3I5eQ=",
|
"narHash": "sha256-5NctRsoE54N86nWd0psae70YSLfrOek3Kv1e8KoXe/0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "74348da2f3a312ee25cea09b98cdba4cb9fa5d5d",
|
"rev": "556533a23879fc7e5f98dd2e0b31a6911a213171",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -110,6 +110,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nur": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1721983543,
|
||||||
|
"narHash": "sha256-6JmRrY7nIwKYadzJkolIXfGOC5JliYnB1EfGOY/Oh5g=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"rev": "4807c89cf4ece6a96eed72957dcf0d9b8e29b052",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"ags": "ags",
|
"ags": "ags",
|
||||||
@@ -117,6 +132,7 @@
|
|||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"impermanence": "impermanence",
|
"impermanence": "impermanence",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nur": "nur",
|
||||||
"sops-nix": "sops-nix"
|
"sops-nix": "sops-nix"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -128,11 +144,11 @@
|
|||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1720926522,
|
"lastModified": 1721688883,
|
||||||
"narHash": "sha256-eTpnrT6yu1vp8C0B5fxHXhgKxHoYMoYTEikQx///jxY=",
|
"narHash": "sha256-9jsjsRKtJRqNSTXKj9zuDFRf2PGix30nMx9VKyPgD2U=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "sops-nix",
|
"repo": "sops-nix",
|
||||||
"rev": "0703ba03fd9c1665f8ab68cc3487302475164617",
|
"rev": "aff2f88277dabe695de4773682842c34a0b7fd54",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@@ -55,6 +55,10 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nur = {
|
||||||
|
url = "github:nix-community/NUR";
|
||||||
|
};
|
||||||
|
|
||||||
ags = {
|
ags = {
|
||||||
url = "github:Aylur/ags";
|
url = "github:Aylur/ags";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
@@ -19,6 +19,4 @@
|
|||||||
!include ${config.sops.secrets."nix/accessTokens/github".path}
|
!include ${config.sops.secrets."nix/accessTokens/github".path}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
}
|
}
|
||||||
|
6
hosts/common/system/configs/nixpkgs/default.nix
Normal file
6
hosts/common/system/configs/nixpkgs/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ inputs, ... }:
|
||||||
|
{
|
||||||
|
imports = [ inputs.nur.nixosModules.nur ];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
}
|
@@ -12,13 +12,13 @@
|
|||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
backupFileExtension = "bak";
|
backupFileExtension = "bak";
|
||||||
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
|
|
||||||
users.${username} = {
|
users.${username} = {
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
systemd.user.startServices = "sd-switch";
|
systemd.user.startServices = "sd-switch";
|
||||||
nix.settings = config.nix.settings;
|
nix.settings = config.nix.settings;
|
||||||
nixpkgs.config = config.nixpkgs.config;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
9
hosts/common/user/configs/console/nixpkgs/default.nix
Normal file
9
hosts/common/user/configs/console/nixpkgs/default.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
username ? throw "username argument is required",
|
||||||
|
}:
|
||||||
|
{ inputs, ... }:
|
||||||
|
{
|
||||||
|
home-manager.users.${username} = {
|
||||||
|
imports = [ inputs.nur.hmModules.nur ];
|
||||||
|
};
|
||||||
|
}
|
51
hosts/common/user/configs/gui/chromium/default.nix
Normal file
51
hosts/common/user/configs/gui/chromium/default.nix
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
{
|
||||||
|
username ? throw "username argument is required",
|
||||||
|
}:
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
let
|
||||||
|
userConfig = config.users.users.${username};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
extraOpts = {
|
||||||
|
DefaultSearchProviderEnabled = true;
|
||||||
|
DefaultSearchProviderName = "DuckDuckGo";
|
||||||
|
DefaultSearchProviderIconURL = "https://duckduckgo.com/favicon.ico";
|
||||||
|
DefaultSearchProviderSearchURL = "https://duckduckgo.com/?q={searchTerms}";
|
||||||
|
DefaultSearchProviderSuggestURL = "https://duckduckgo.com/ac/?q={searchTerms}&type=list";
|
||||||
|
DefaultBrowserSettingEnabled = false;
|
||||||
|
DefaultDownloadDirectory = "$HOME/Downloads";
|
||||||
|
PasswordManagerEnabled = false;
|
||||||
|
HomepageIsNewTabPage = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users.${username} = {
|
||||||
|
programs.chromium = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
extensions = [
|
||||||
|
"oldceeleldhonbafppcapldpdifcinji" # LanguageTool
|
||||||
|
"nngceckbapebfimnlniiiahkandclblb" # Bitwarden
|
||||||
|
"eimadpbcbfnmbkopoojfekhnkhdbieeh" # Dark Reader
|
||||||
|
"doojmbjmlfjjnbmnoijecmcbfeoakpjm" # NoScript
|
||||||
|
"gebbhagfogifgggkldgodflihgfeippi" # Return YouTube Dislike
|
||||||
|
"mnjggcdmjocbbbhaepdhchncahnbgone" # Sponsorblock
|
||||||
|
"cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin
|
||||||
|
"jinjaccalgkegednnccohejagnlnfdag" # Violentmonkey
|
||||||
|
"fpnmgdkabkmnadcjpehmlllkndpkmiak" # Wayback Machine
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
home.persistence = {
|
||||||
|
"/persist${userConfig.home}".directories = [ ".config/chromium" ];
|
||||||
|
"/cache${userConfig.home}".directories = [ ".cache/chromium" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
@@ -20,7 +20,7 @@ in
|
|||||||
DisableFirefoxStudies = true;
|
DisableFirefoxStudies = true;
|
||||||
DontCheckDefaultBrowser = true;
|
DontCheckDefaultBrowser = true;
|
||||||
DisablePocket = true;
|
DisablePocket = true;
|
||||||
DefaultDownloadDirectory = "\${HOME}/Downloads";
|
DefaultDownloadDirectory = "$HOME/Downloads";
|
||||||
OfferToSaveLogins = false;
|
OfferToSaveLogins = false;
|
||||||
AutofillAddressEnabled = false;
|
AutofillAddressEnabled = false;
|
||||||
AutofillCreditCardEnabled = false;
|
AutofillCreditCardEnabled = false;
|
||||||
@@ -39,6 +39,19 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
|
settings."extensions.autoDisableScopes" = 0;
|
||||||
|
|
||||||
|
extensions = with config.nur.repos.rycee.firefox-addons; [
|
||||||
|
languagetool
|
||||||
|
bitwarden
|
||||||
|
darkreader
|
||||||
|
noscript
|
||||||
|
sponsorblock
|
||||||
|
ublock-origin
|
||||||
|
violentmonkey
|
||||||
|
wayback-machine
|
||||||
|
];
|
||||||
|
|
||||||
search = {
|
search = {
|
||||||
default = "DuckDuckGo";
|
default = "DuckDuckGo";
|
||||||
privateDefault = "DuckDuckGo";
|
privateDefault = "DuckDuckGo";
|
||||||
|
@@ -718,6 +718,10 @@ in
|
|||||||
|
|
||||||
sops.secrets."google/geocoding" = { };
|
sops.secrets."google/geocoding" = { };
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings.bind = [
|
||||||
|
"$mod, o, exec, ${pkgs.obsidian}/bin/obsidian"
|
||||||
|
];
|
||||||
|
|
||||||
home.persistence."/cache${userConfig.home}".directories = [ ".config/obsidian" ];
|
home.persistence."/cache${userConfig.home}".directories = [ ".config/obsidian" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -8,11 +8,12 @@
|
|||||||
../common/system/configs/getty
|
../common/system/configs/getty
|
||||||
../common/system/configs/git
|
../common/system/configs/git
|
||||||
../common/system/configs/gpg-agent
|
../common/system/configs/gpg-agent
|
||||||
|
../common/system/configs/impermanence
|
||||||
../common/system/configs/neovim
|
../common/system/configs/neovim
|
||||||
../common/system/configs/networking
|
../common/system/configs/networking
|
||||||
../common/system/configs/nix
|
../common/system/configs/nix
|
||||||
../common/system/configs/nix-ld
|
../common/system/configs/nix-ld
|
||||||
../common/system/configs/persist
|
../common/system/configs/nixpkgs
|
||||||
../common/system/configs/pipewire
|
../common/system/configs/pipewire
|
||||||
../common/system/configs/plymouth
|
../common/system/configs/plymouth
|
||||||
../common/system/configs/ranger
|
../common/system/configs/ranger
|
||||||
|
@@ -11,11 +11,14 @@ in
|
|||||||
(import ../common/user/configs/console/bluetooth { inherit username; })
|
(import ../common/user/configs/console/bluetooth { inherit username; })
|
||||||
(import ../common/user/configs/console/brightnessctl { inherit username; })
|
(import ../common/user/configs/console/brightnessctl { inherit username; })
|
||||||
(import ../common/user/configs/console/btop { inherit username; })
|
(import ../common/user/configs/console/btop { inherit username; })
|
||||||
|
(import ../common/user/configs/console/ffmpeg { inherit username; })
|
||||||
(import ../common/user/configs/console/git { inherit username; })
|
(import ../common/user/configs/console/git { inherit username; })
|
||||||
(import ../common/user/configs/console/gpg-agent { inherit username; })
|
(import ../common/user/configs/console/gpg-agent { inherit username; })
|
||||||
(import ../common/user/configs/console/home-manager { inherit username; })
|
(import ../common/user/configs/console/home-manager { inherit username; })
|
||||||
|
(import ../common/user/configs/console/imagemagick { inherit username; })
|
||||||
|
(import ../common/user/configs/console/impermanence { inherit username; })
|
||||||
(import ../common/user/configs/console/neovim { inherit username; })
|
(import ../common/user/configs/console/neovim { inherit username; })
|
||||||
(import ../common/user/configs/console/persist { inherit username; })
|
(import ../common/user/configs/console/nixpkgs { inherit username; })
|
||||||
(import ../common/user/configs/console/pipewire { inherit username; })
|
(import ../common/user/configs/console/pipewire { inherit username; })
|
||||||
(import ../common/user/configs/console/sops { inherit username; })
|
(import ../common/user/configs/console/sops { inherit username; })
|
||||||
(import ../common/user/configs/console/syncthing { inherit username; })
|
(import ../common/user/configs/console/syncthing { inherit username; })
|
||||||
@@ -26,6 +29,7 @@ in
|
|||||||
(import ../common/user/configs/gui/brightnessctl { inherit username; })
|
(import ../common/user/configs/gui/brightnessctl { inherit username; })
|
||||||
(import ../common/user/configs/gui/btop { inherit username; })
|
(import ../common/user/configs/gui/btop { inherit username; })
|
||||||
# (import ../common/user/configs/gui/cbatticon { inherit username; })
|
# (import ../common/user/configs/gui/cbatticon { inherit username; })
|
||||||
|
(import ../common/user/configs/gui/chromium { inherit username; })
|
||||||
(import ../common/user/configs/gui/cliphist { inherit username; })
|
(import ../common/user/configs/gui/cliphist { inherit username; })
|
||||||
(import ../common/user/configs/gui/firefox { inherit username; })
|
(import ../common/user/configs/gui/firefox { inherit username; })
|
||||||
(import ../common/user/configs/gui/gtk { inherit username; })
|
(import ../common/user/configs/gui/gtk { inherit username; })
|
||||||
|
Reference in New Issue
Block a user