Compare commits
2 Commits
ed421eb672
...
7a91a50ffe
| Author | SHA1 | Date | |
|---|---|---|---|
| 7a91a50ffe | |||
| 185cf7c330 |
@ -1,3 +1,8 @@
|
|||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
- my personal nix dotfiles
|
- my personal nix dotfiles in flake
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://git.foglar.tech/foglar/dotfiles.git $HOME/dotfiles --depth 1
|
||||||
|
sudo nixos-rebuild switch ~/dotfiles#laptop
|
||||||
|
```
|
||||||
|
|||||||
41
flake.lock
41
flake.lock
@ -120,6 +120,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"firefox-addons": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"dir": "pkgs/firefox-addons",
|
||||||
|
"lastModified": 1730451285,
|
||||||
|
"narHash": "sha256-riTKP5+xXtWnNiGrnttTylrVYW9umOduK7/eoqXEmFU=",
|
||||||
|
"owner": "rycee",
|
||||||
|
"repo": "nur-expressions",
|
||||||
|
"rev": "f6b3852c3b3e79786d33f5f5a4b4429dbe03d566",
|
||||||
|
"type": "gitlab"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"dir": "pkgs/firefox-addons",
|
||||||
|
"owner": "rycee",
|
||||||
|
"repo": "nur-expressions",
|
||||||
|
"type": "gitlab"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -153,6 +176,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1629284811,
|
||||||
|
"narHash": "sha256-JHgasjPR0/J1J3DRm4KxM4zTyAj4IOJY8vIl75v/kPI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "c5d161cc0af116a2e17f54316f0bf43f0819785c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": [
|
"systems": [
|
||||||
"stylix",
|
"stylix",
|
||||||
@ -536,6 +574,7 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"Hyprspace": "Hyprspace",
|
"Hyprspace": "Hyprspace",
|
||||||
|
"firefox-addons": "firefox-addons",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
@ -550,7 +589,7 @@
|
|||||||
"base16-helix": "base16-helix",
|
"base16-helix": "base16-helix",
|
||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils_2",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
|||||||
@ -23,7 +23,13 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
stylix.url = "github:danth/stylix";
|
stylix.url = "github:danth/stylix";
|
||||||
|
|
||||||
zen-browser.url = "github:MarceColl/zen-browser-flake";
|
zen-browser.url = "github:MarceColl/zen-browser-flake";
|
||||||
|
|
||||||
|
firefox-addons = {
|
||||||
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
|
|||||||
28
nixos/packages/applications/firefox.nix
Normal file
28
nixos/packages/applications/firefox.nix
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
options = {
|
||||||
|
firefox.enable = lib.mkEnableOption "enable Firefox module";
|
||||||
|
};
|
||||||
|
|
||||||
|
config = lib.mkIf config.firefox.enable {
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
profiles.default = {
|
||||||
|
|
||||||
|
extensions = with inputs.firefox-addons.packages."x86_64-linux"; [
|
||||||
|
#enhancer-for-youtube
|
||||||
|
ublock-origin
|
||||||
|
simple-translate
|
||||||
|
duckduckgo-privacy-essentials
|
||||||
|
return-youtube-dislikes
|
||||||
|
user-agent-string-switcher
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -7,16 +7,17 @@
|
|||||||
./programming/programming.nix
|
./programming/programming.nix
|
||||||
./games.nix
|
./games.nix
|
||||||
./terminal_tools.nix
|
./terminal_tools.nix
|
||||||
|
./applications/firefox.nix
|
||||||
#./packages/applications.nix
|
#./packages/applications.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
terminal_tools.enable = lib.mkDefault true;
|
terminal_tools.enable = lib.mkDefault true;
|
||||||
programming.enable = lib.mkDefault true;
|
programming.enable = lib.mkDefault true;
|
||||||
games.enable = lib.mkDefault false;
|
games.enable = lib.mkDefault false;
|
||||||
|
firefox.enable = lib.mkDefault true;
|
||||||
#programs.neovim.enable = true;
|
#programs.neovim.enable = true;
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
firefox
|
|
||||||
librewolf
|
librewolf
|
||||||
discord
|
discord
|
||||||
|
|
||||||
@ -62,6 +63,8 @@
|
|||||||
"steam"
|
"steam"
|
||||||
"steam-unwrapped"
|
"steam-unwrapped"
|
||||||
|
|
||||||
|
"enhancer-for-youtube"
|
||||||
|
|
||||||
"gitkraken"
|
"gitkraken"
|
||||||
# VSCODE
|
# VSCODE
|
||||||
"vscode"
|
"vscode"
|
||||||
|
|||||||
@ -17,6 +17,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
|
"files.autoSave"= "afterDelay";
|
||||||
"editor.fontSize" = 16;
|
"editor.fontSize" = 16;
|
||||||
"editor.minimap.side"= "right";
|
"editor.minimap.side"= "right";
|
||||||
"editor.scrollbar.vertical"= "hidden";
|
"editor.scrollbar.vertical"= "hidden";
|
||||||
@ -34,6 +35,23 @@
|
|||||||
"workbench.productIconTheme"= "material-product-icons";
|
"workbench.productIconTheme"= "material-product-icons";
|
||||||
"window.menuBarVisibility"= "toggle";
|
"window.menuBarVisibility"= "toggle";
|
||||||
"github.copilot.editor.enableAutoCompletions"= false;
|
"github.copilot.editor.enableAutoCompletions"= false;
|
||||||
|
"nix.serverPath"= "nixd";
|
||||||
|
"nix.enableLanguageServer"= true;
|
||||||
|
"nix.serverSettings" = {
|
||||||
|
"nixd" = {
|
||||||
|
"formatting"= {
|
||||||
|
"command"= [ "alejandra" ]; # or nixfmt or nixpkgs-fmt
|
||||||
|
};
|
||||||
|
# "options": {
|
||||||
|
# "nixos": {
|
||||||
|
# "expr": "(builtins.getFlake \"~/mysystem/").nixosConfigurations.laptop.options"
|
||||||
|
# },
|
||||||
|
# "home_manager": {
|
||||||
|
# "expr": "(builtins.getFlake \"/PATH/TO/FLAKE\").homeConfigurations..options"
|
||||||
|
# },
|
||||||
|
# },
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
extensions = with pkgs.vscode-extensions; [
|
extensions = with pkgs.vscode-extensions; [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user