diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index 449c439..80ea75a 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -16,9 +16,19 @@
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
#cursor { no_hardware_cursors = true }
-env = AQ_DRM_DEVICES,/dev/dri/card1
+# env = AQ_DRM_DEVICES,/dev/dri/card1
+env = AQ_NO_MODIFIERS,1
monitor=,preferred,auto,1
+# env = LIBVA_DRIVER_NAME,nvidia
+# env = XDG_SESSION_TYPE,wayland
+# env = GBM_BACKEND,nvidia-drm
+# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
+
+# cursor {
+# no_hardware_cursors = true
+# }
+
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/workspaces.conf
diff --git a/analyzed.svg b/analyzed.svg
new file mode 100644
index 0000000..2450d33
--- /dev/null
+++ b/analyzed.svg
@@ -0,0 +1,5801 @@
+
+
+
diff --git a/configuration.nix b/configuration.nix
index 489b747..54a5bed 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -63,11 +63,11 @@
LC_TIME = "cs_CZ.UTF-8";
};
- services.xserver.enable = false;
services.displayManager.sddm.enable = true;
services.displayManager.sddm.wayland.enable = true;
services.desktopManager.plasma6.enable = true;
services.xserver = {
+ enable = false;
xkb = {
layout = "us";
variant = "";
@@ -154,14 +154,55 @@
};
hardware.opentabletdriver.enable = true;
virtualisation.docker.enable = true;
+ virtualisation.docker.enableOnBoot = false;
services.avahi.enable = true;
-
+
+ boot = {
+ # Shortcuts for fixing things
+ # alt+sysrq (prtsc) + key
+ # h: Print help to the system log.
+ # f: Trigger the kernel oom killer.
+ # s: Sync data to disk before triggering the reset options below.
+ # e: SIGTERM all processes except PID 0.
+ # i: SIGKILL all processes except PID 0.
+ # b: Reboot the system.
+ kernel.sysctl."kernel.sysrq" = 1;
+
+ # Visuals
+ plymouth = {
+ enable = true;
+ theme = "deus_ex"; # motion is also cool
+ themePackages = with pkgs; [
+ (adi1090x-plymouth-themes.override {
+ selected_themes = [ "deus_ex" ];
+ })
+ ];
+ };
+ kernelParams = [
+ "quiet"
+ "splash"
+ "boot.shell_on_fail"
+ "loglevel=3"
+ "rd.systemd.show_status=false"
+ "rd.udev.log_level=3"
+ "udev.log_priority=3"
+ ];
+
+ # Removing support for unneeded stuff
+ # zfs.enabled = false;
+ swraid.enable = false;
+
+ initrd.systemd.enable = true;
+ };
+ boot.loader.timeout = 0;
+
environment.systemPackages = with pkgs; [
git
nvtopPackages.full
btop
lshw
+ nvidia-docker
];
nixpkgs.config.allowUnfree = true;
@@ -176,7 +217,7 @@
# package32 = unstable-pkgs.pkgsi686Linux.mesa.drivers;
};
- boot.kernelModules = ["amdgpu"];
+ boot.kernelModules = ["amdgpu" "nvidia" "nvidia_modeset" "nvidia_uvm" "nvidia_drm"];
hardware.nvidia = {
open = false;
modesetting.enable = true;
@@ -195,6 +236,7 @@
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
+ options nvidia_drm modeset=1 fbdev=1
'';
# Open ports in the firewall.
@@ -216,4 +258,8 @@
system.stateVersion = "24.05"; # Did you read the comment?
nix.settings.experimental-features = [ "nix-command" "flakes" ];
+
+ networking.extraHosts = ''
+ 10.99.24.21 supersecureservice.cypherfix.tcc
+ '';
}
diff --git a/firefox b/firefox
new file mode 100644
index 0000000..e69de29
diff --git a/flake.lock b/flake.lock
index 912f1f9..24d3262 100644
--- a/flake.lock
+++ b/flake.lock
@@ -20,11 +20,11 @@
]
},
"locked": {
- "lastModified": 1725753098,
- "narHash": "sha256-/NO/h/qD/eJXAQr/fHA4mdDgYsNT9thHQ+oT6KPi2ac=",
+ "lastModified": 1727261104,
+ "narHash": "sha256-rxDI7WrxIRV9it9mDCHcLa7xQykf1JloXnoXr5xQ8zI=",
"owner": "hyprwm",
"repo": "aquamarine",
- "rev": "e4a13203112a036fc7f437d391c7810f3dd5ab52",
+ "rev": "b82fdaff917582a9d568969e15e61b398c71e990",
"type": "github"
},
"original": {
@@ -33,16 +33,51 @@
"type": "github"
}
},
+ "devshell": {
+ "inputs": {
+ "nixpkgs": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1722113426,
+ "narHash": "sha256-Yo/3loq572A8Su6aY5GP56knpuKYRvM2a1meP9oJZCw=",
+ "owner": "numtide",
+ "repo": "devshell",
+ "rev": "67cce7359e4cd3c45296fb4aaf6a19e2a9c757ae",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "devshell",
+ "type": "github"
+ }
+ },
+ "flake-compat": {
+ "locked": {
+ "lastModified": 1696426674,
+ "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
+ "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
+ "revCount": 57,
+ "type": "tarball",
+ "url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.0.1/018afb31-abd1-7bff-a5e4-cff7e18efb7a/source.tar.gz"
+ },
+ "original": {
+ "type": "tarball",
+ "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
+ }
+ },
"flake-parts": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
- "lastModified": 1726153070,
- "narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
+ "lastModified": 1727826117,
+ "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
"owner": "hercules-ci",
"repo": "flake-parts",
- "rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
+ "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
"type": "github"
},
"original": {
@@ -51,6 +86,97 @@
"type": "github"
}
},
+ "flake-parts_2": {
+ "inputs": {
+ "nixpkgs-lib": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1727826117,
+ "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "flake-parts",
+ "type": "github"
+ }
+ },
+ "flake-utils": {
+ "inputs": {
+ "systems": "systems_2"
+ },
+ "locked": {
+ "lastModified": 1726560853,
+ "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=",
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "rev": "c1dfcf08411b08f6b8615f7d8971a2bfa81d5e8a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "flake-utils",
+ "type": "github"
+ }
+ },
+ "git-hooks": {
+ "inputs": {
+ "flake-compat": [
+ "nixvim",
+ "flake-compat"
+ ],
+ "gitignore": "gitignore",
+ "nixpkgs": [
+ "nixvim",
+ "nixpkgs"
+ ],
+ "nixpkgs-stable": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1728092656,
+ "narHash": "sha256-eMeCTJZ5xBeQ0f9Os7K8DThNVSo9gy4umZLDfF5q6OM=",
+ "owner": "cachix",
+ "repo": "git-hooks.nix",
+ "rev": "1211305a5b237771e13fcca0c51e60ad47326a9a",
+ "type": "github"
+ },
+ "original": {
+ "owner": "cachix",
+ "repo": "git-hooks.nix",
+ "type": "github"
+ }
+ },
+ "gitignore": {
+ "inputs": {
+ "nixpkgs": [
+ "nixvim",
+ "git-hooks",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1709087332,
+ "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
+ "owner": "hercules-ci",
+ "repo": "gitignore.nix",
+ "rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hercules-ci",
+ "repo": "gitignore.nix",
+ "type": "github"
+ }
+ },
"home-manager": {
"inputs": {
"nixpkgs": [
@@ -58,11 +184,32 @@
]
},
"locked": {
- "lastModified": 1726440980,
- "narHash": "sha256-ChhIrjtdu5d83W+YDRH+Ec5g1MmM0xk6hJnkz15Ot7M=",
+ "lastModified": 1728296299,
+ "narHash": "sha256-waPSn8ddmvPJBctQaFmSILtElg/Hd62mQPZcbGAxHCI=",
"owner": "nix-community",
"repo": "home-manager",
- "rev": "a9c9cc6e50f7cbd2d58ccb1cd46a1e06e9e445ff",
+ "rev": "fcf5e608ac65f64463bc0ccc5ea86f2170f20689",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "type": "github"
+ }
+ },
+ "home-manager_2": {
+ "inputs": {
+ "nixpkgs": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1728041527,
+ "narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=",
+ "owner": "nix-community",
+ "repo": "home-manager",
+ "rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e",
"type": "github"
},
"original": {
@@ -87,11 +234,11 @@
]
},
"locked": {
- "lastModified": 1722623071,
- "narHash": "sha256-sLADpVgebpCBFXkA1FlCXtvEPu1tdEsTfqK1hfeHySE=",
+ "lastModified": 1727532803,
+ "narHash": "sha256-ZaZ7h7PY8mQc4vtGmVqWLAq9CAO02gHMyNR5yY8zDmM=",
"owner": "hyprwm",
"repo": "hyprcursor",
- "rev": "912d56025f03d41b1ad29510c423757b4379eb1c",
+ "rev": "b98726e431d4d3ed58bd58bee1047cdb81cec69f",
"type": "github"
},
"original": {
@@ -104,6 +251,7 @@
"inputs": {
"aquamarine": "aquamarine",
"hyprcursor": "hyprcursor",
+ "hyprland-protocols": "hyprland-protocols",
"hyprlang": "hyprlang",
"hyprutils": "hyprutils",
"hyprwayland-scanner": "hyprwayland-scanner",
@@ -112,11 +260,11 @@
"xdph": "xdph"
},
"locked": {
- "lastModified": 1726430622,
- "narHash": "sha256-50vt1snpVwS5lqvvH4p6DHiEWspJUZuJ1kYy1DKtrfM=",
+ "lastModified": 1728223706,
+ "narHash": "sha256-HrsylIpk+17wwsh/+sgUBmL7VHakF+EWv9v9Dx1268I=",
"ref": "refs/heads/main",
- "rev": "9e356562446f44c471ae38a80506a9df039305d6",
- "revCount": 5224,
+ "rev": "4e41cda27ed4176005082436cb35878335e63fae",
+ "revCount": 5301,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@@ -144,11 +292,11 @@
]
},
"locked": {
- "lastModified": 1723143591,
- "narHash": "sha256-dPcWAeRJoG5CyWC32X3XX+Og0v/k1/S1N0T5dQWT32k=",
+ "lastModified": 1727705521,
+ "narHash": "sha256-tR4bc6zONkxore1F7CRrwHs9NITht8NY0JTidPSmMXY=",
"owner": "hyprwm",
"repo": "hyprland-plugins",
- "rev": "b73d7b901d8cb1172dd25c7b7159f0242c625a77",
+ "rev": "9215288eb2ded9d0c08d468ea90ba68f43162c67",
"type": "github"
},
"original": {
@@ -158,6 +306,31 @@
}
},
"hyprland-protocols": {
+ "inputs": {
+ "nixpkgs": [
+ "hyprland",
+ "nixpkgs"
+ ],
+ "systems": [
+ "hyprland",
+ "systems"
+ ]
+ },
+ "locked": {
+ "lastModified": 1727451107,
+ "narHash": "sha256-qV9savtHwmZUa0eJE294WYJjKPGB2+bJhwByFShsVyo=",
+ "owner": "hyprwm",
+ "repo": "hyprland-protocols",
+ "rev": "6b3261ee13a6d2b99de79a31d352f6996e35bde3",
+ "type": "github"
+ },
+ "original": {
+ "owner": "hyprwm",
+ "repo": "hyprland-protocols",
+ "type": "github"
+ }
+ },
+ "hyprland-protocols_2": {
"inputs": {
"nixpkgs": [
"hyprland",
@@ -225,11 +398,11 @@
]
},
"locked": {
- "lastModified": 1724966483,
- "narHash": "sha256-WXDgKIbzjYKczxSZOsJplCS1i1yrTUpsDPuJV/xpYLo=",
+ "lastModified": 1727300645,
+ "narHash": "sha256-OvAtVLaSRPnbXzOwlR1fVqCXR7i+ICRX3aPMCdIiv+c=",
"owner": "hyprwm",
"repo": "hyprutils",
- "rev": "8976e3f6a5357da953a09511d0c7f6a890fb6ec2",
+ "rev": "3f5293432b6dc6a99f26aca2eba3876d2660665c",
"type": "github"
},
"original": {
@@ -250,11 +423,11 @@
]
},
"locked": {
- "lastModified": 1721324119,
- "narHash": "sha256-SOOqIT27/X792+vsLSeFdrNTF+OSRp5qXv6Te+fb2Qg=",
+ "lastModified": 1726874836,
+ "narHash": "sha256-VKR0sf0PSNCB0wPHVKSAn41mCNVCnegWmgkrneKDhHM=",
"owner": "hyprwm",
"repo": "hyprwayland-scanner",
- "rev": "a048a6cb015340bd82f97c1f40a4b595ca85cc30",
+ "rev": "500c81a9e1a76760371049a8d99e008ea77aa59e",
"type": "github"
},
"original": {
@@ -263,6 +436,27 @@
"type": "github"
}
},
+ "nix-darwin": {
+ "inputs": {
+ "nixpkgs": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1727999297,
+ "narHash": "sha256-LTJuQPCsSItZ/8TieFeP30iY+uaLoD0mT0tAj1gLeyQ=",
+ "owner": "lnl7",
+ "repo": "nix-darwin",
+ "rev": "8c8388ade72e58efdeae71b4cbb79e872c23a56b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "lnl7",
+ "repo": "nix-darwin",
+ "type": "github"
+ }
+ },
"nix-gaming": {
"inputs": {
"flake-parts": "flake-parts",
@@ -270,11 +464,11 @@
"umu": "umu"
},
"locked": {
- "lastModified": 1726364380,
- "narHash": "sha256-hICWlRKF1lOzRwTepJORe9hWYGkUVXJxKjTe5P5CSg0=",
+ "lastModified": 1728179360,
+ "narHash": "sha256-A8nAB6MKty+cbjRxprPwJJODMUaLw1dhnCYoeHTFzlQ=",
"owner": "fufexan",
"repo": "nix-gaming",
- "rev": "3e51c9884bca93625ff1deca440e30c8d2f2e522",
+ "rev": "8801edc554a69a0532b04ecce90b21048d167392",
"type": "github"
},
"original": {
@@ -285,11 +479,11 @@
},
"nixos-hardware": {
"locked": {
- "lastModified": 1726454253,
- "narHash": "sha256-ikQs0QZGmCfk5cJ2N5nTT6oULMvWgxN6ebk4WsOq9io=",
+ "lastModified": 1728269138,
+ "narHash": "sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX+b5BU0yXls=",
"owner": "NixOS",
"repo": "nixos-hardware",
- "rev": "b9ab7e57c5d1d456cdeef252d345f3bca9c55851",
+ "rev": "ecfcd787f373f43307d764762e139a7cdeb9c22b",
"type": "github"
},
"original": {
@@ -300,11 +494,11 @@
},
"nixpkgs": {
"locked": {
- "lastModified": 1725983898,
- "narHash": "sha256-4b3A9zPpxAxLnkF9MawJNHDtOOl6ruL0r6Og1TEDGCE=",
+ "lastModified": 1727348695,
+ "narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "1355a0cbfeac61d785b7183c0caaec1f97361b43",
+ "rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github"
},
"original": {
@@ -316,23 +510,23 @@
},
"nixpkgs-lib": {
"locked": {
- "lastModified": 1725233747,
- "narHash": "sha256-Ss8QWLXdr2JCBPcYChJhz4xJm+h/xjl4G0c0XlP6a74=",
+ "lastModified": 1727825735,
+ "narHash": "sha256-0xHYkMkeLVQAMa7gvkddbPqpxph+hDzdu1XdGPJR+Os=",
"type": "tarball",
- "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz"
+ "url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz"
},
"original": {
"type": "tarball",
- "url": "https://github.com/NixOS/nixpkgs/archive/356624c12086a18f2ea2825fed34523d60ccc4e3.tar.gz"
+ "url": "https://github.com/NixOS/nixpkgs/archive/fb192fec7cc7a4c26d51779e9bab07ce6fa5597a.tar.gz"
}
},
"nixpkgs-unstable": {
"locked": {
- "lastModified": 1726243404,
- "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=",
+ "lastModified": 1728018373,
+ "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059",
+ "rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
"type": "github"
},
"original": {
@@ -344,11 +538,11 @@
},
"nixpkgs_2": {
"locked": {
- "lastModified": 1726238386,
- "narHash": "sha256-3//V84fYaGVncFImitM6lSAliRdrGayZLdxWlpcuGk0=",
+ "lastModified": 1728093190,
+ "narHash": "sha256-CAZF2NRuHmqTtRTNAruWpHA43Gg2UvuCNEIzabP0l6M=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "01f064c99c792715054dc7a70e4c1626dbbec0c3",
+ "rev": "e2f08f4d8b3ecb5cf5c9fd9cb2d53bb3c71807da",
"type": "github"
},
"original": {
@@ -360,11 +554,11 @@
},
"nixpkgs_3": {
"locked": {
- "lastModified": 1726243404,
- "narHash": "sha256-sjiGsMh+1cWXb53Tecsm4skyFNag33GPbVgCdfj3n9I=",
+ "lastModified": 1728018373,
+ "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=",
"owner": "NixOS",
"repo": "nixpkgs",
- "rev": "345c263f2f53a3710abe117f28a5cb86d0ba4059",
+ "rev": "bc947f541ae55e999ffdb4013441347d83b00feb",
"type": "github"
},
"original": {
@@ -376,11 +570,11 @@
},
"nixpkgs_4": {
"locked": {
- "lastModified": 1725634671,
- "narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
+ "lastModified": 1727348695,
+ "narHash": "sha256-J+PeFKSDV+pHL7ukkfpVzCOO7mBSrrpJ3svwBFABbhI=",
"owner": "nixos",
"repo": "nixpkgs",
- "rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
+ "rev": "1925c603f17fc89f4c8f6bf6f631a802ad85d784",
"type": "github"
},
"original": {
@@ -390,6 +584,56 @@
"type": "github"
}
},
+ "nixvim": {
+ "inputs": {
+ "devshell": "devshell",
+ "flake-compat": "flake-compat",
+ "flake-parts": "flake-parts_2",
+ "git-hooks": "git-hooks",
+ "home-manager": "home-manager_2",
+ "nix-darwin": "nix-darwin",
+ "nixpkgs": [
+ "nixpkgs"
+ ],
+ "nuschtosSearch": "nuschtosSearch",
+ "treefmt-nix": "treefmt-nix"
+ },
+ "locked": {
+ "lastModified": 1728292968,
+ "narHash": "sha256-Jp/SQH5q2uTRBW625gFdfXLvYLjQiDNxtvQo0vVbyeA=",
+ "owner": "nix-community",
+ "repo": "nixvim",
+ "rev": "d71cfaaae8353b4102169a9858422ce3738cd43b",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-community",
+ "repo": "nixvim",
+ "type": "github"
+ }
+ },
+ "nuschtosSearch": {
+ "inputs": {
+ "flake-utils": "flake-utils",
+ "nixpkgs": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1728017046,
+ "narHash": "sha256-ofWYux/uUAv8wq7sWw8XWke0sh8p4qYxSOn8d+EaJ8c=",
+ "owner": "NuschtOS",
+ "repo": "search",
+ "rev": "ba81d9c1eae20fc3a1cd066062a05ac2e799e629",
+ "type": "github"
+ },
+ "original": {
+ "owner": "NuschtOS",
+ "repo": "search",
+ "type": "github"
+ }
+ },
"root": {
"inputs": {
"home-manager": "home-manager",
@@ -399,6 +643,7 @@
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_3",
"nixpkgs-unstable": "nixpkgs-unstable",
+ "nixvim": "nixvim",
"zen-browser": "zen-browser"
}
},
@@ -417,6 +662,42 @@
"type": "github"
}
},
+ "systems_2": {
+ "locked": {
+ "lastModified": 1681028828,
+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
+ "owner": "nix-systems",
+ "repo": "default",
+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
+ "type": "github"
+ },
+ "original": {
+ "owner": "nix-systems",
+ "repo": "default",
+ "type": "github"
+ }
+ },
+ "treefmt-nix": {
+ "inputs": {
+ "nixpkgs": [
+ "nixvim",
+ "nixpkgs"
+ ]
+ },
+ "locked": {
+ "lastModified": 1727984844,
+ "narHash": "sha256-xpRqITAoD8rHlXQafYZOLvUXCF6cnZkPfoq67ThN0Hc=",
+ "owner": "numtide",
+ "repo": "treefmt-nix",
+ "rev": "4446c7a6fc0775df028c5a3f6727945ba8400e64",
+ "type": "github"
+ },
+ "original": {
+ "owner": "numtide",
+ "repo": "treefmt-nix",
+ "type": "github"
+ }
+ },
"umu": {
"inputs": {
"nixpkgs": [
@@ -426,11 +707,11 @@
},
"locked": {
"dir": "packaging/nix",
- "lastModified": 1726301236,
- "narHash": "sha256-0JQH9RYdGL1NUaQE5syA/SmbxuZ6NTLn3FduapSXUXA=",
+ "lastModified": 1728075410,
+ "narHash": "sha256-JjA/C6EgpoAAdrm8KebOizz2+73V9wI6Y7JreAfWAwU=",
"ref": "refs/heads/main",
- "rev": "e06443981e3bf09cbc70aaffe245e4a03f1a6df7",
- "revCount": 715,
+ "rev": "4dc0ef6c299d05cde360bec725765b370d2b75c8",
+ "revCount": 737,
"submodules": true,
"type": "git",
"url": "https://github.com/Open-Wine-Components/umu-launcher/?dir=packaging/nix"
@@ -444,11 +725,19 @@
},
"xdph": {
"inputs": {
- "hyprland-protocols": "hyprland-protocols",
+ "hyprland-protocols": "hyprland-protocols_2",
"hyprlang": [
"hyprland",
"hyprlang"
],
+ "hyprutils": [
+ "hyprland",
+ "hyprutils"
+ ],
+ "hyprwayland-scanner": [
+ "hyprland",
+ "hyprwayland-scanner"
+ ],
"nixpkgs": [
"hyprland",
"nixpkgs"
@@ -459,11 +748,11 @@
]
},
"locked": {
- "lastModified": 1726046979,
- "narHash": "sha256-6SEsjurq9cdTkITA6d49ncAJe4O/8CgRG5/F//s6Xh8=",
+ "lastModified": 1727524473,
+ "narHash": "sha256-1DGktDtSWIJpnDbVoj/qpvJSH5zg6JbOfuh6xqZMap0=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
- "rev": "e695669fd8e1d1be9eaae40f35e00f8bd8b64c18",
+ "rev": "7e500e679ede40e79cf2d89b5f5fa3e34923bd26",
"type": "github"
},
"original": {
@@ -477,11 +766,11 @@
"nixpkgs": "nixpkgs_4"
},
"locked": {
- "lastModified": 1726001766,
- "narHash": "sha256-ADvEWfo0AuHR06ah1nnzOyhsG05/b5QpUc7vFNbiEfM=",
+ "lastModified": 1727721329,
+ "narHash": "sha256-QYlWZwUSwrM7BuO+dXclZIwoPvBIuJr6GpFKv9XKFPI=",
"owner": "MarceColl",
"repo": "zen-browser-flake",
- "rev": "06505a088396e2c0b9ad100302502783a6bcdb40",
+ "rev": "e6ab73f405e9a2896cce5956c549a9cc359e5fcc",
"type": "github"
},
"original": {
diff --git a/flake.nix b/flake.nix
index 2304277..6f05c2e 100644
--- a/flake.nix
+++ b/flake.nix
@@ -13,10 +13,15 @@
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nix-gaming.url = "github:fufexan/nix-gaming";
+ nixvim = {
+ url = "github:nix-community/nixvim";
+ # If using a stable channel you can use `url = "github:nix-community/nixvim/nixos-"`
+ inputs.nixpkgs.follows = "nixpkgs";
+ };
# kwin-effects-forceblur.url = "https://gist.githubusercontent.com/taj-ny/c1abdde710f33e34dc39dc53a5dc2c09/raw/7078265012c37b6f6bc397e9a7893bc6004e7b6c/kwin-effects-forceblur.nix";
};
- outputs = { nixpkgs, home-manager, ... }@attrs: {
+ outputs = { nixpkgs, nixvim, home-manager, ... }@attrs: {
nixosConfigurations.lenovo-nix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
@@ -26,6 +31,7 @@
home-manager.users.dan = (import ./home.nix) { nix-gaming = attrs.nix-gaming; };
home-manager.backupFileExtension = "backup";
}
+ nixvim.nixosModules.nixvim
./configuration.nix
];
};
diff --git a/home.nix b/home.nix
index e8979fe..373c1a2 100644
--- a/home.nix
+++ b/home.nix
@@ -32,7 +32,7 @@ in
meslo-lgs-nf
waybar
chromium
- firefox
+ # firefox
dunst
sccache
swaybg
@@ -74,6 +74,7 @@ in
nil # nix language server
gping
+ redisinsight
caddy
jq
htmlq
@@ -161,7 +162,7 @@ in
programs = {
fish = {
enable = true;
- shellInit = with unstable-pkgs; ''
+ shellInit = ''
source ~/.config/fish/config-old.fish
'';
@@ -180,6 +181,25 @@ in
];
};
+ # nixvim = {
+ # enable = true;
+ # # colorscheme = "hanekawa_tsubasa";w
+ # colorschemes.onedark.enable = true;
+ # plugins = {
+ # wakatime.enable = true;
+ # cmp = {
+ # autoEnableSources = true;
+ # enable = true;
+ # settings.sources = [
+ # { name = "fish"; }
+ # { name = "nvim_lsp"; }
+ # { name = "path"; }
+ # { name = "buffer"; }
+ # # { name = "treesitter"; }
+ # ];
+ # };
+ # };
+ # };
git = {
enable = true;
userName = "Daniel Bulant";
@@ -203,7 +223,7 @@ in
fastfetch.enable = true;
direnv.enable = true;
direnv.nix-direnv.enable = true;
- firefox.enable = true;
+ # firefox.enable = true;
};
services.kdeconnect.enable = true;
services.kdeconnect.indicator = true;