mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-18 22:55:52 +05:30
Compare commits
4 commits
0889af7fe8
...
2d75530b6d
Author | SHA1 | Date | |
---|---|---|---|
2d75530b6d | |||
62e6c00621 | |||
6994093871 | |||
afcb50393f |
48
flake.lock
48
flake.lock
|
@ -133,11 +133,11 @@
|
|||
"blocklist-hosts": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1703555947,
|
||||
"narHash": "sha256-3HUeHdEFtZV/I7mRKhpYJ183JbGohQxhgP725vp4PHA=",
|
||||
"lastModified": 1704596859,
|
||||
"narHash": "sha256-LlTyhtx3DbtsQdkl6J7ktj/zLJULFqQWq5sCqKPX71g=",
|
||||
"owner": "StevenBlack",
|
||||
"repo": "hosts",
|
||||
"rev": "db884bcfcd86dbe02caecc32c9637302a0e81d08",
|
||||
"rev": "539489187bf9f50adad0c4cbd628ffffae553878",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -432,11 +432,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1703838268,
|
||||
"narHash": "sha256-SRg5nXcdPnrsQR2MTAp7en0NyJnQ2wB1ivmsgEbvN+o=",
|
||||
"lastModified": 1705169127,
|
||||
"narHash": "sha256-j9OEtNxOIPWZWjbECVMkI1TO17SzlpHMm0LnVWKOR/g=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "2aff324cf65f5f98f89d878c056b779466b17db8",
|
||||
"rev": "f2942f3385f1b35cc8a1abb03a45e29c9cb4d3c8",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -470,11 +470,11 @@
|
|||
"hyprland-plugins": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1703896182,
|
||||
"narHash": "sha256-zB/5n6Z/6NqOr6uwwxR71jeNT7u3temhhPCUNzOLl3g=",
|
||||
"lastModified": 1705105875,
|
||||
"narHash": "sha256-okq/uETLLafEcsm7Tv7NAIsFJyta+VoCiCO9XxAih8E=",
|
||||
"owner": "hyprwm",
|
||||
"repo": "hyprland-plugins",
|
||||
"rev": "64329fc44f7322badea5ee64fc6d8e24c2b79054",
|
||||
"rev": "0fabc558d1edbbdb0501507354b44070589cc25a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -560,11 +560,11 @@
|
|||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1703637592,
|
||||
"narHash": "sha256-8MXjxU0RfFfzl57Zy3OfXCITS0qWDNLzlBAdwxGZwfY=",
|
||||
"lastModified": 1704722960,
|
||||
"narHash": "sha256-mKGJ3sPsT6//s+Knglai5YflJUF2DGj7Ai6Ynopz0kI=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "cfc3698c31b1fb9cdcf10f36c9643460264d0ca8",
|
||||
"rev": "317484b1ead87b9c1b8ac5261a8d2dd748a0492d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -688,11 +688,11 @@
|
|||
"org-side-tree": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1703862557,
|
||||
"narHash": "sha256-VaNqyx9c9dpPvwVwZvd7KbNcVTn4wuZugkdaYCY+s5g=",
|
||||
"lastModified": 1704204195,
|
||||
"narHash": "sha256-NOYt8GTIFBqOmKWmrjoqIWDD5GXsofc7w1ZXfcnHvJ0=",
|
||||
"owner": "localauthor",
|
||||
"repo": "org-side-tree",
|
||||
"rev": "fb7115acbe1f4ba61df28426520889d53275391f",
|
||||
"rev": "77e88e8c528b809f24827c7cd986580d5bc4cd17",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -704,11 +704,11 @@
|
|||
"org-timeblock": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1702702971,
|
||||
"narHash": "sha256-Oq34Fsm8foGVT67QwPSYah+wP+mH7ixilH+4BL0LPGs=",
|
||||
"lastModified": 1704368319,
|
||||
"narHash": "sha256-FHIukbBgEdBtsfBXao9hKU/uIiQZ5ZonV/jtCR0goP0=",
|
||||
"owner": "ichernyshovvv",
|
||||
"repo": "org-timeblock",
|
||||
"rev": "cf326f5dadbf7b90750f54455b00fcd0b8b60b0a",
|
||||
"rev": "9d8486857066a30408c2139a48ba77ea532081ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -837,11 +837,11 @@
|
|||
"nixpkgs": "nixpkgs_3"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1703902408,
|
||||
"narHash": "sha256-qXdWvu+tlgNjeoz8yQMRKSom6QyRROfgpmeOhwbujqw=",
|
||||
"lastModified": 1705112162,
|
||||
"narHash": "sha256-IAM0+Uijh/fwlfoeDrOwau9MxcZW3zeDoUHc6Z3xfqM=",
|
||||
"owner": "oxalica",
|
||||
"repo": "rust-overlay",
|
||||
"rev": "319f57cd2c34348c55970a4bf2b35afe82088681",
|
||||
"rev": "9e0af26ffe52bf955ad5575888f093e41fba0104",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -881,11 +881,11 @@
|
|||
"nixpkgs": "nixpkgs_4"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1703880383,
|
||||
"narHash": "sha256-YAIbWRAKOCaWDQ4A29xXr79VTuAk9lPJSPYhMBk/VjU=",
|
||||
"lastModified": 1704308480,
|
||||
"narHash": "sha256-88ICCdJyYYtsolRnPhI9IF+bhUIVUyhJ7nrKcKPgf6M=",
|
||||
"owner": "danth",
|
||||
"repo": "stylix",
|
||||
"rev": "5a7f3f15ccc2a272e5873bb44fe378ab5d99e0ff",
|
||||
"rev": "9bc1900b6888efdda39c2e02c7c8666911b72608",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
name = "Emmet"; # name/identifier
|
||||
email = "emmet@librephoenix.com"; # email (used for certain configurations)
|
||||
dotfilesDir = "~/.dotfiles"; # absolute path of the local repo
|
||||
theme = "uwunicorn"; # selcted theme from my themes directory (./themes/)
|
||||
theme = "uwunicorn-yt"; # selcted theme from my themes directory (./themes/)
|
||||
wm = "hyprland"; # Selected window manager or desktop environment; must select one in both ./user/wm/ and ./system/wm/
|
||||
wmType = "wayland"; # x11 or wayland
|
||||
browser = "qutebrowser"; # Default browser; must select one from ./user/app/browser/
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
../../system/security/firewall.nix
|
||||
../../system/security/firejail.nix
|
||||
../../system/security/openvpn.nix
|
||||
../../system/security/automount.nix
|
||||
../../system/style/stylix.nix
|
||||
];
|
||||
|
||||
|
|
7
system/security/automount.nix
Normal file
7
system/security/automount.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.devmon.enable = true;
|
||||
services.gvfs.enable = true;
|
||||
services.udisks2.enable = true;
|
||||
}
|
19
user/app/browser/floorp.nix
Normal file
19
user/app/browser/floorp.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, wmType, font, ... }:
|
||||
|
||||
{
|
||||
# Module installing as default browser
|
||||
home.packages = [ pkgs.floorp ];
|
||||
|
||||
home.sessionVariables = {
|
||||
DEFAULT_BROWSER = "${pkgs.floorp}/bin/floorp";
|
||||
};
|
||||
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/html" = "floorp.desktop";
|
||||
"x-scheme-handler/http" = "floorp.desktop";
|
||||
"x-scheme-handler/https" = "floorp.desktop";
|
||||
"x-scheme-handler/about" = "floorp.desktop";
|
||||
"x-scheme-handler/unknown" = "floorp.desktop";
|
||||
};
|
||||
|
||||
}
|
|
@ -60,6 +60,7 @@ in
|
|||
# Set retroarch core directory to ~/.local/bin/libretro
|
||||
# and retroarch core info directory to ~/.local/share/libretro/info
|
||||
home.file.".local/bin/libretro".source = "${myRetroarch}/lib/retroarch/cores";
|
||||
home.file.".local/bin/libretro-shaders".source = "${myRetroarch}/lib/retroarch/cores";
|
||||
home.file.".local/share/libretro/info".source = fetchTarball {
|
||||
url = "https://github.com/libretro/libretro-core-info/archive/refs/tags/v1.15.0.tar.gz";
|
||||
sha256 = "004kgbsgbk7hn1v01jg3vj4b6dfb2cp3kcp5hgjyl030wqg1r22q";
|
||||
|
|
|
@ -39,7 +39,7 @@ in
|
|||
home.packages = with pkgs; [
|
||||
disfetch lolcat cowsay onefetch
|
||||
gnugrep gnused
|
||||
bat eza bottom fd
|
||||
bat eza bottom fd bc
|
||||
direnv nix-direnv
|
||||
];
|
||||
|
||||
|
|
|
@ -41,7 +41,35 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
stylix.targets.alacritty.enable = true;
|
||||
stylix.targets.alacritty.enable = false;
|
||||
programs.alacritty.settings = {
|
||||
colors = {
|
||||
# TODO revisit these color mappings
|
||||
# these are just the default provided from stylix
|
||||
# but declared directly due to alacritty v3.0 breakage
|
||||
primary.background = "#"+config.lib.stylix.colors.base00;
|
||||
primary.foreground = "#"+config.lib.stylix.colors.base07;
|
||||
cursor.text = "#"+config.lib.stylix.colors.base00;
|
||||
cursor.cursor = "#"+config.lib.stylix.colors.base07;
|
||||
normal.black = "#"+config.lib.stylix.colors.base00;
|
||||
normal.red = "#"+config.lib.stylix.colors.base08;
|
||||
normal.green = "#"+config.lib.stylix.colors.base0B;
|
||||
normal.yellow = "#"+config.lib.stylix.colors.base0A;
|
||||
normal.blue = "#"+config.lib.stylix.colors.base0D;
|
||||
normal.magenta = "#"+config.lib.stylix.colors.base0E;
|
||||
normal.cyan = "#"+config.lib.stylix.colors.base0B;
|
||||
normal.white = "#"+config.lib.stylix.colors.base05;
|
||||
bright.black = "#"+config.lib.stylix.colors.base03;
|
||||
bright.red = "#"+config.lib.stylix.colors.base09;
|
||||
bright.green = "#"+config.lib.stylix.colors.base01;
|
||||
bright.yellow = "#"+config.lib.stylix.colors.base02;
|
||||
bright.blue = "#"+config.lib.stylix.colors.base04;
|
||||
bright.magenta = "#"+config.lib.stylix.colors.base06;
|
||||
bright.cyan = "#"+config.lib.stylix.colors.base0F;
|
||||
bright.white = "#"+config.lib.stylix.colors.base07;
|
||||
};
|
||||
font.size = config.stylix.fonts.sizes.terminal;
|
||||
};
|
||||
stylix.targets.kitty.enable = true;
|
||||
stylix.targets.gtk.enable = true;
|
||||
stylix.targets.rofi.enable = if (wmType == "x11") then true else false;
|
||||
|
|
|
@ -5,8 +5,7 @@
|
|||
../../app/terminal/alacritty.nix
|
||||
../../app/terminal/kitty.nix
|
||||
(import ../../app/dmenu-scripts/networkmanager-dmenu.nix {
|
||||
dmenu_command = "fuzzel -d";
|
||||
inherit config lib pkgs;
|
||||
dmenu_command = "fuzzel -d"; inherit config lib pkgs;
|
||||
})
|
||||
(import ./hyprprofiles/hyprprofiles.nix {
|
||||
dmenuCmd = "fuzzel -d"; inherit config lib pkgs;
|
||||
|
@ -110,6 +109,7 @@
|
|||
bindm=SUPER,mouse:272,movewindow
|
||||
bindm=SUPER,mouse:273,resizewindow
|
||||
bind=SUPER,T,togglefloating
|
||||
bind=SUPER,G,exec,hyprworkspace 9; pegasus-fe;
|
||||
|
||||
bind=,code:107,exec,grim -g "$(slurp)"
|
||||
bind=SHIFT,code:107,exec,grim -g "$(slurp -o)"
|
||||
|
@ -730,6 +730,8 @@
|
|||
background-size: auto 100%;
|
||||
}
|
||||
'';
|
||||
services.udiskie.enable = true;
|
||||
services.udiskie.tray = "always";
|
||||
programs.swaylock = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
Loading…
Reference in a new issue