Gen 415: installed the NUR and added a firefox config
This commit is contained in:
30
flake.lock
generated
30
flake.lock
generated
@@ -442,11 +442,11 @@
|
|||||||
"xdph": "xdph"
|
"xdph": "xdph"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728742719,
|
"lastModified": 1728752206,
|
||||||
"narHash": "sha256-t9xlU0hrWSrQenblkg0Mq1wBx4I6A2IdgoVT3/kAx2I=",
|
"narHash": "sha256-r5xU/LqU4TrUOIouhYqrTZc1VY1zLQOOzbLsFCDlfpI=",
|
||||||
"ref": "refs/heads/main",
|
"ref": "refs/heads/main",
|
||||||
"rev": "c3f7c9bbb52b9ad3d24ccfcc5c552ed16c9985a5",
|
"rev": "1822707c7e7394ce8c7572f2fe890763a307f499",
|
||||||
"revCount": 5331,
|
"revCount": 5332,
|
||||||
"submodules": true,
|
"submodules": true,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
@@ -823,6 +823,21 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nur": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1728762317,
|
||||||
|
"narHash": "sha256-bEy9sZy4K2owEYrc+9WTqYTyWxjxK/WfusH+RDngNZU=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"rev": "0d5a843741d2c551f3023bff528f236ec0dfe9d0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nuschtosSearch": {
|
"nuschtosSearch": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
@@ -854,15 +869,9 @@
|
|||||||
"pre-commit-hooks": "pre-commit-hooks_2"
|
"pre-commit-hooks": "pre-commit-hooks_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
<<<<<<< Updated upstream
|
|
||||||
"lastModified": 1,
|
"lastModified": 1,
|
||||||
"narHash": "sha256-bjrRxs4ja1ulvgjlWN5IwfGdAVOwYQR6YSPCRVje52E=",
|
"narHash": "sha256-bjrRxs4ja1ulvgjlWN5IwfGdAVOwYQR6YSPCRVje52E=",
|
||||||
"path": "./pkgs/nixvim",
|
"path": "./pkgs/nixvim",
|
||||||
=======
|
|
||||||
"lastModified": 1728747549,
|
|
||||||
"narHash": "sha256-9n6nu8BS4MWpoQLyDqyGXaeJb6G9IzwQgbFjwvBdPL0=",
|
|
||||||
"path": "/home/pagedmov/sysflakes/glasshouse-desktop/home/nixvim",
|
|
||||||
>>>>>>> Stashed changes
|
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -929,6 +938,7 @@
|
|||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
"hyprpicker": "hyprpicker",
|
"hyprpicker": "hyprpicker",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
"nur": "nur",
|
||||||
"nvim": "nvim",
|
"nvim": "nvim",
|
||||||
"spicetify-nix": "spicetify-nix",
|
"spicetify-nix": "spicetify-nix",
|
||||||
"toilet": "toilet"
|
"toilet": "toilet"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
nur.url = "github:nix-community/NUR";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@@ -43,7 +43,7 @@
|
|||||||
toilet.url = "path:./pkgs/toilet";
|
toilet.url = "path:./pkgs/toilet";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { nixpkgs, home-manager, self, nvim, toilet, ... }@inputs:
|
outputs = { nixpkgs, nur, home-manager, self, nvim, toilet, ... }@inputs:
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
username = "pagedmov";
|
username = "pagedmov";
|
||||||
@@ -57,6 +57,7 @@
|
|||||||
inherit system;
|
inherit system;
|
||||||
modules = [
|
modules = [
|
||||||
./glasshouse-desktop/sys
|
./glasshouse-desktop/sys
|
||||||
|
nur.nixosModules.nur
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
{ inputs, username, system, ... }:
|
{ nur, inputs, username, system, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (import ./btop.nix) ]
|
[ (import ./btop.nix) ]
|
||||||
++ [ (import ./bat.nix) ]
|
++ [ (import ./bat.nix) ]
|
||||||
|
++ [ (import ./firefox.nix) ]
|
||||||
++ [ (import ./cava.nix) ]
|
++ [ (import ./cava.nix) ]
|
||||||
++ [ (import ./fuzzel.nix) ]
|
++ [ (import ./fuzzel.nix) ]
|
||||||
++ [ (import ./gtk.nix) ]
|
++ [ (import ./gtk.nix) ]
|
||||||
|
|||||||
47
glasshouse-desktop/home/firefox.nix
Normal file
47
glasshouse-desktop/home/firefox.nix
Normal file
@@ -0,0 +1,47 @@
|
|||||||
|
{ nur, username, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.firefox = {
|
||||||
|
enable = true;
|
||||||
|
profiles.${username} = {
|
||||||
|
name = "${username}";
|
||||||
|
isDefault = true;
|
||||||
|
bookmarks = [
|
||||||
|
{ name = "NixOS Options";
|
||||||
|
url = "https://search.nixos.org/options";
|
||||||
|
}
|
||||||
|
{ name = "Home Manager Options";
|
||||||
|
url = "https://home-manager-options.extranix.com/";
|
||||||
|
}
|
||||||
|
{ name = "Nixvim Docs";
|
||||||
|
url = "https://nix-community.github.io/nixvim/";
|
||||||
|
}
|
||||||
|
{ name = "Rust Manual";
|
||||||
|
url = "https://doc.rust-lang.org/book/ch01-03-hello-cargo.html";
|
||||||
|
}
|
||||||
|
{ name = "ChatGPT";
|
||||||
|
url = "https://chatgpt.com/";
|
||||||
|
}
|
||||||
|
{ name = "DataAnnotation";
|
||||||
|
url = "https://app.dataannotation.tech/users/sign_in";
|
||||||
|
}
|
||||||
|
{ name = "Nerd Fonts Cheatsheet";
|
||||||
|
url = "https://www.nerdfonts.com/cheat-sheet";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
extensions = with nur.repos.rycee.firefox-addons; [
|
||||||
|
darkreader
|
||||||
|
adnauseam
|
||||||
|
cookie-autodelete
|
||||||
|
disconnect
|
||||||
|
vimium
|
||||||
|
firenvim
|
||||||
|
privacy-badger
|
||||||
|
];
|
||||||
|
settings = {
|
||||||
|
"extensions.autoDisableScopes" = 0;
|
||||||
|
"browser.startup.homepage" = "https://nixos.org";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -5,7 +5,6 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
hello
|
|
||||||
gtk3
|
gtk3
|
||||||
adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
uhk-agent
|
uhk-agent
|
||||||
@@ -16,7 +15,6 @@ in
|
|||||||
zathura
|
zathura
|
||||||
inkscape
|
inkscape
|
||||||
imagemagick
|
imagemagick
|
||||||
firefox
|
|
||||||
yt-dlp
|
yt-dlp
|
||||||
vlc
|
vlc
|
||||||
speedtest-cli
|
speedtest-cli
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ inputs, nixpkgs, self, username, ... }:
|
{ inputs, nixpkgs, config, username, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|||||||
@@ -1,12 +1,15 @@
|
|||||||
{ config, inputs, pkgs, username, ... }:
|
{ config, inputs, pkgs, username, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
nur = config.nur;
|
||||||
|
in
|
||||||
{
|
{
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
backupFileExtension = "backup";
|
backupFileExtension = "backup";
|
||||||
extraSpecialArgs = { inherit inputs username; };
|
extraSpecialArgs = { inherit inputs username nur; };
|
||||||
users.${username} = {
|
users.${username} = {
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
imports = [ ./../home ];
|
imports = [ ./../home ];
|
||||||
|
|||||||
Reference in New Issue
Block a user