mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Generated
+8
-8
@@ -89,16 +89,16 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779506708,
|
"lastModified": 1779726825,
|
||||||
"narHash": "sha256-QOD/CNm196nCJRheux/URi4/HE66fthdOMqCJoPP1Y0=",
|
"narHash": "sha256-RUkMrREjKDQrA+dA9+xZviGAxM5W1aVdyOr/bSYpHrE=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "3ee51fbdac8c8bdfe1e7e1fcaba6520a563f394f",
|
"rev": "b179bde238977f7d4454fc770b1a727eaf55111c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-25.11",
|
"ref": "release-26.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -201,16 +201,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1779796641,
|
"lastModified": 1779971959,
|
||||||
"narHash": "sha256-ZsIrKmhp4vbBXoXXmR/tBXA/UCsAQiJL9vsgZEduhVY=",
|
"narHash": "sha256-R5nauXyqyfRUFiZycFFZdkF7wl6eaUpPLst35+2nJQY=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "25f538306313eae3927264466c70d7001dcea1df",
|
"rev": "ec942ba042dad5ef097e2ef3a3effc034241f011",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-25.11",
|
"ref": "nixos-26.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,11 +2,11 @@
|
|||||||
description = "Nixos config flake";
|
description = "Nixos config flake";
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; # used for some packages
|
||||||
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
|
nixos-grub-themes.url = "github:jeslie0/nixos-grub-themes";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager/release-25.11";
|
url = "github:nix-community/home-manager/release-26.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
notewrapper = {
|
notewrapper = {
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ _: {
|
|||||||
# we enable system wide with nixpkgs because it offers some addon configuration. We just use this for some config
|
# we enable system wide with nixpkgs because it offers some addon configuration. We just use this for some config
|
||||||
#enable = true;
|
#enable = true;
|
||||||
theme = "dark";
|
theme = "dark";
|
||||||
sync = {
|
profiles."User 1".sync = {
|
||||||
autoSync = true;
|
autoSync = true;
|
||||||
autoSyncMediaMinutes = 10;
|
autoSyncMediaMinutes = 10;
|
||||||
syncMedia = true;
|
syncMedia = true;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
swww #wallpaper daemon
|
awww #wallpaper daemon
|
||||||
gruvbox-gtk-theme
|
gruvbox-gtk-theme
|
||||||
hyprcursor
|
hyprcursor
|
||||||
capitaine-cursors-themed # cursor theme
|
capitaine-cursors-themed # cursor theme
|
||||||
@@ -60,6 +60,7 @@
|
|||||||
#pkgs-unstable.hyprlandPlugins.hyprspace # currently broken
|
#pkgs-unstable.hyprlandPlugins.hyprspace # currently broken
|
||||||
#pkgs-unstable.hyprlandPlugins.hypr-dynamic-cursors # currently broken
|
#pkgs-unstable.hyprlandPlugins.hypr-dynamic-cursors # currently broken
|
||||||
];
|
];
|
||||||
|
wayland.windowManager.hyprland.configType = "hyprlang";
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
"$term" = "kitty";
|
"$term" = "kitty";
|
||||||
@@ -260,8 +261,8 @@
|
|||||||
"custom-batterywarning"
|
"custom-batterywarning"
|
||||||
#"birdtray" # thunderbird tray app # curently broken
|
#"birdtray" # thunderbird tray app # curently broken
|
||||||
#wallpapers/b
|
#wallpapers/b
|
||||||
"swww img ${wallpaper}"
|
"awww img ${wallpaper}"
|
||||||
"swww-daemon"
|
"awww-daemon"
|
||||||
"sleep 1 && custom-wallpaper"
|
"sleep 1 && custom-wallpaper"
|
||||||
"custom-checkKdrive && custom-mountkdrive" # checks if the remote works and mount it
|
"custom-checkKdrive && custom-mountkdrive" # checks if the remote works and mount it
|
||||||
#"waybar"
|
#"waybar"
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ _: {
|
|||||||
name = "custom-wallpaper";
|
name = "custom-wallpaper";
|
||||||
runtimeInputs = with pkgs; [
|
runtimeInputs = with pkgs; [
|
||||||
socat
|
socat
|
||||||
swww
|
awww
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
handle() {
|
handle() {
|
||||||
@@ -60,19 +60,19 @@ _: {
|
|||||||
workspace="''${str:$i:1}"
|
workspace="''${str:$i:1}"
|
||||||
case $workspace in
|
case $workspace in
|
||||||
1 | 6)
|
1 | 6)
|
||||||
swww img -t none ${wallpaper1}
|
awww img -t none ${wallpaper1}
|
||||||
;;
|
;;
|
||||||
2 | 7)
|
2 | 7)
|
||||||
swww img -t none ${wallpaper2}
|
awww img -t none ${wallpaper2}
|
||||||
;;
|
;;
|
||||||
3 | 8)
|
3 | 8)
|
||||||
swww img -t none ${wallpaper3}
|
awww img -t none ${wallpaper3}
|
||||||
;;
|
;;
|
||||||
4 | 9)
|
4 | 9)
|
||||||
swww img -t none ${wallpaper4}
|
awww img -t none ${wallpaper4}
|
||||||
;;
|
;;
|
||||||
5 | 10 | 0)
|
5 | 10 | 0)
|
||||||
swww img -t none ${wallpaper5}
|
awww img -t none ${wallpaper5}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
_: {
|
_: {
|
||||||
flake.homeModules.neovim = {pkgs-unstable, ...}: {
|
flake.homeModules.neovim = {pkgs-unstable, ...}: {
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
|
withRuby = false;
|
||||||
|
withPython3 = false;
|
||||||
enable = true;
|
enable = true;
|
||||||
vimAlias = false;
|
vimAlias = false;
|
||||||
viAlias = false;
|
viAlias = false;
|
||||||
@@ -63,7 +65,7 @@ _: {
|
|||||||
pkgs-unstable.vimPlugins.better-diagnostic-virtual-text
|
pkgs-unstable.vimPlugins.better-diagnostic-virtual-text
|
||||||
pkgs-unstable.vimPlugins.garbage-day-nvim
|
pkgs-unstable.vimPlugins.garbage-day-nvim
|
||||||
];
|
];
|
||||||
extraLuaConfig = ''
|
initLua = ''
|
||||||
|
|
||||||
local vim = vim
|
local vim = vim
|
||||||
|
|
||||||
|
|||||||
@@ -3,19 +3,20 @@ _: {
|
|||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableDefaultConfig = false; # will be removed in the futur. Removes evaluation warning
|
enableDefaultConfig = false; # will be removed in the futur. Removes evaluation warning
|
||||||
matchBlocks."*" = {
|
/*settings = {
|
||||||
# equivalent to the default config
|
# equivalent to the default config
|
||||||
forwardAgent = false;
|
#forwardAgent = false;
|
||||||
addKeysToAgent = "no";
|
# give errors in home-manager 26.05
|
||||||
compression = false;
|
#addKeysToAgent = "no";
|
||||||
|
#compression = false;
|
||||||
serverAliveInterval = 0;
|
serverAliveInterval = 0;
|
||||||
serverAliveCountMax = 3;
|
serverAliveCountMax = 3;
|
||||||
hashKnownHosts = false;
|
hashKnownHosts = false;
|
||||||
userKnownHostsFile = "~/.ssh/known_hosts";
|
userKnownHostsFile = "~/.ssh/known_hosts";
|
||||||
controlMaster = "no";
|
#controlMaster = "no";
|
||||||
controlPath = "~/.ssh/master-%r@%n:%p";
|
#controlPath = "~/.ssh/master-%r@%n:%p";
|
||||||
controlPersist = "no";
|
#controlPersist = "no";
|
||||||
};
|
};*/
|
||||||
};
|
};
|
||||||
services.ssh-agent.enable = true;
|
services.ssh-agent.enable = true;
|
||||||
home.file.".ssh/config".text = ''
|
home.file.".ssh/config".text = ''
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
systems = [
|
|
||||||
"x86_64-linux"
|
|
||||||
#"aarch64-linux"
|
|
||||||
#"x86_64-darwin"
|
|
||||||
#"aarch64-darwin"
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
flake.nixosModules.notifications = {pkgs, ...}: {
|
flake.nixosModules.notifications = {pkgs, ...}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
libnotify # Library that sends desktop notifications to a notification daemon
|
libnotify # Library that sends desktop notifications to a notification daemon
|
||||||
socat # Utility for bidirectional data transfer between two independent data channels (used to communicate between hyprland and swww to change wallpapers dinamically)
|
socat # Utility for bidirectional data transfer between two independent data channels (used to communicate between hyprland and awww to change wallpapers dinamically)
|
||||||
matrix-commander-rs # matrix client used to send notifications from scripts to my phone
|
matrix-commander-rs # matrix client used to send notifications from scripts to my phone
|
||||||
# battery notifications
|
# battery notifications
|
||||||
self.packages.${pkgs.system}.custom-batterynotify
|
self.packages.${pkgs.system}.custom-batterynotify
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ _: {
|
|||||||
cling # c interpreter used for coding
|
cling # c interpreter used for coding
|
||||||
# lsp
|
# lsp
|
||||||
clang-tools
|
clang-tools
|
||||||
python311Packages.python-lsp-server
|
python314Packages.python-lsp-server
|
||||||
ltex-ls-plus
|
ltex-ls-plus
|
||||||
pylint
|
pylint
|
||||||
black
|
black
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
in {
|
in {
|
||||||
flake.nixosModules.documentation = {pkgs, ...}: {
|
flake.nixosModules.documentation = {pkgs, ...}: {
|
||||||
# unfortunatly this adds a lot of computation when nix rebuilds
|
# unfortunatly this adds a lot of computation when nix rebuilds
|
||||||
documentation.man.generateCaches = true; # used for the man script
|
documentation.man.cache.enable = true; # used for the man script
|
||||||
|
|
||||||
environment.pathsToLink = [
|
environment.pathsToLink = [
|
||||||
# see https://wiki.nixos.org/wiki/Documentation_Gaps#How_do_manpages_work?_Or:_environment.pathsToLink_and_buildEnv
|
# see https://wiki.nixos.org/wiki/Documentation_Gaps#How_do_manpages_work?_Or:_environment.pathsToLink_and_buildEnv
|
||||||
|
|||||||
Reference in New Issue
Block a user