โ„๏ธ My personnal NixOS configuration
nix-flake nixos-configuration linux dotfiles flake nix nix-config nixos nixos-flake linux-desktop

ใ€Œ๐Ÿ—‘๏ธใ€ clean: removed useless comment

+7 -93
+1 -2
home/DEV-BOYY/packages.nix
··· 11 slack 12 firefox 13 postman 14 - gearlever # for beeper cause the one from the nixpkgs seems bugged 15 - strawberry # for itunes lib and need to test if upload to ipod works 16 parsec-bin 17 libreoffice 18 self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness # for adjusting brightness on ddc/ci screen
··· 11 slack 12 firefox 13 postman 14 + gearlever 15 parsec-bin 16 libreoffice 17 self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness # for adjusting brightness on ddc/ci screen
-1
home/LAPTOP-5530/packages.nix
··· 18 libreoffice 19 brightnessctl 20 prismlauncher 21 - # jellyfin-media-player 22 self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness 23 (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 24 quickMode = false;
··· 18 libreoffice 19 brightnessctl 20 prismlauncher 21 self.packages.${pkgs.stdenv.hostPlatform.system}.adjust-brightness 22 (self.packages.${pkgs.stdenv.hostPlatform.system}.keyznvim.override { 23 quickMode = false;
+1 -1
home/MINI-BOYY/default.nix
··· 21 hyprlock.monitor = "HDMI-A-3"; 22 }; 23 24 - programs.kitty.font.size = 13.5; # for kitty 25 26 home.stateVersion = "25.11"; 27 }
··· 21 hyprlock.monitor = "HDMI-A-3"; 22 }; 23 24 + programs.kitty.font.size = 13.5; 25 26 home.stateVersion = "25.11"; 27 }
-1
hosts/LAPTOP-5530/default.nix
··· 18 19 networking.hostName = "LAPTOP-5530"; 20 21 - # For ddcutils compatibility 22 users.users.adjoly.extraGroups = [ 23 "i2c" 24 "vboxusers"
··· 18 19 networking.hostName = "LAPTOP-5530"; 20 21 users.users.adjoly.extraGroups = [ 22 "i2c" 23 "vboxusers"
+1 -1
hosts/LAPTOP-5530/disko.nix
··· 35 size = "100%"; 36 content = { 37 type = "swap"; 38 - # resumeDevice = true; 39 }; 40 }; 41 };
··· 35 size = "100%"; 36 content = { 37 type = "swap"; 38 + resumeDevice = true; 39 }; 40 }; 41 };
-11
hosts/LAPTOP-5530/hardware-configuration.nix
··· 1 - # Do not modify this file! It was generated by โ€˜nixos-generate-configโ€™ 2 - # and may be overwritten by future invocations. Please make changes 3 - # to /etc/nixos/configuration.nix instead. 4 { 5 config, 6 lib, ··· 21 "sd_mod" 22 "rtsx_pci_sdmmc" 23 ]; 24 - boot.initrd.kernelModules = [ ]; 25 - # boot.kernelModules = [ "kvm-intel" ]; 26 - boot.extraModulePackages = [ ]; 27 28 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 29 - # (the default) this is the recommended approach. When using systemd-networkd it's 30 - # still possible to use this option, but it's recommended to use it in conjunction 31 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 32 networking.useDHCP = lib.mkDefault true; 33 - # networking.interfaces.wlp59s0.useDHCP = lib.mkDefault true; 34 35 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 36 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
··· 1 { 2 config, 3 lib, ··· 18 "sd_mod" 19 "rtsx_pci_sdmmc" 20 ]; 21 22 networking.useDHCP = lib.mkDefault true; 23 24 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 25 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
+1 -14
hosts/MINI-BOYY/default.nix
··· 14 15 networking.hostName = "MINI-BOYY"; 16 17 - # For ddcutils compatibility 18 users.users.adjoly.extraGroups = [ 19 "i2c" 20 "vboxusers" ··· 34 programs = { 35 docker.enable = true; 36 }; 37 - services = { 38 - }; 39 }; 40 powerManagement.enable = true; 41 - # environment.systemPackages = with pkgs; [ 42 - # ]; 43 44 - programs.wireshark.enable = true; 45 - 46 - # This value determines the NixOS release from which the default 47 - # settings for stateful data, like file locations and database versions 48 - # on your system were taken. Itโ€˜s perfectly fine and recommended to leave 49 - # this value at the release version of the first install of this system. 50 - # Before changing this value read the documentation for this option 51 - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 52 - system.stateVersion = "24.11"; # Did you read the comment? 53 }
··· 14 15 networking.hostName = "MINI-BOYY"; 16 17 users.users.adjoly.extraGroups = [ 18 "i2c" 19 "vboxusers" ··· 33 programs = { 34 docker.enable = true; 35 }; 36 }; 37 powerManagement.enable = true; 38 39 + system.stateVersion = "24.11"; 40 }
+1 -18
hosts/MINI-BOYY/hardware.nix
··· 1 { 2 config, 3 - # pkgs, 4 lib, 5 ... 6 }: 7 { 8 - # hardware.graphics = { 9 - # extraPackages = [ 10 - # pkgs.intel-vaapi-driver 11 - # ]; 12 - # extraPackages32 = with pkgs.pkgsi686Linux; [ intel-vaapi-driver ]; 13 - # enable = true; 14 - # enable32Bit = true; 15 - # }; 16 nixpkgs.config.allowInsecurePredicate = 17 pkg: 18 builtins.elem (lib.getName pkg) [ 19 - "broadcom-sta" # aka โ€œwlโ€ 20 ]; 21 - # services.thermald.enable = true; 22 - # hardware.facetimehd.enable = false; 23 - # services.mbpfan.enable = true; 24 boot = { 25 - # initrd.kernelModules = [ 26 - # "i915" 27 - # ]; 28 kernelModules = [ 29 - # "coretemp" 30 - # "applesmc" 31 "wl" 32 ]; 33 blacklistedKernelModules = [
··· 1 { 2 config, 3 lib, 4 ... 5 }: 6 { 7 nixpkgs.config.allowInsecurePredicate = 8 pkg: 9 builtins.elem (lib.getName pkg) [ 10 + "broadcom-sta" 11 ]; 12 boot = { 13 kernelModules = [ 14 "wl" 15 ]; 16 blacklistedKernelModules = [
+1 -2
hosts/NIXOS-SERVER/default.nix
··· 53 defaults = true; 54 55 grub-boot.enable = true; 56 - # theme.enable = true; 57 58 hardware = { 59 nvidia.enable = true; ··· 65 services = { }; 66 }; 67 68 - system.stateVersion = "25.05"; # Did you read the comment? 69 }
··· 53 defaults = true; 54 55 grub-boot.enable = true; 56 57 hardware = { 58 nvidia.enable = true; ··· 64 services = { }; 65 }; 66 67 + system.stateVersion = "25.05"; 68 }
-6
hosts/VM/default.nix
··· 30 theme.enable = true; 31 boot = lib.mkForce false; 32 33 - # hardware = { 34 - # bluetooth.enable = true; 35 - # logitech.enable = true; 36 - # nvidia.enable = true; 37 - # }; 38 programs = { 39 docker.enable = true; 40 - # steam.enable = true; 41 }; 42 services = { 43 ly.enable = true;
··· 30 theme.enable = true; 31 boot = lib.mkForce false; 32 33 programs = { 34 docker.enable = true; 35 }; 36 services = { 37 ly.enable = true;
+1 -4
modules/home-manager/cli/cli-app.nix
··· 15 home.packages = with pkgs; [ 16 inputs.timmy.packages.${pkgs.stdenv.hostPlatform.system}.timmy 17 tea 18 ]; 19 20 programs.yazi = { ··· 33 vim_keys = true; 34 }; 35 }; 36 - 37 - # nixpkgs.overlays = [ 38 - # inputs.keyznvim.overlays.default 39 - # ]; 40 }; 41 }
··· 15 home.packages = with pkgs; [ 16 inputs.timmy.packages.${pkgs.stdenv.hostPlatform.system}.timmy 17 tea 18 + forgejo-cli 19 ]; 20 21 programs.yazi = { ··· 34 vim_keys = true; 35 }; 36 }; 37 }; 38 }
-1
pkgs/keyznvim/config/lsp/cmp.nix
··· 28 }; 29 cmp = { 30 enable = true; 31 - # autoEnableSources = true; 32 settings = { 33 snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end"; 34 mapping = {
··· 28 }; 29 cmp = { 30 enable = true; 31 settings = { 32 snippet.expand = "function(args) require('luasnip').lsp_expand(args.body) end"; 33 mapping = {
-30
pkgs/keyznvim/config/plugins/42header.nix
··· 1 - { 2 - pkgs, 3 - ... 4 - }: 5 - let 6 - plugin = pkgs.vimUtils.buildVimPlugin { 7 - pname = "42header-nvim"; 8 - version = "4303be09d9615e9169661b3e5d5a98c3eecee0ff"; 9 - src = pkgs.fetchFromGitHub { 10 - owner = "Diogo-ss"; 11 - repo = "42-header.nvim"; 12 - rev = "4303be09d9615e9169661b3e5d5a98c3eecee0ff"; 13 - sha256 = "7byIoFoaRag23Zej7ioL+2WjAv7Zttn1/WZrya0NZPo="; 14 - }; 15 - }; 16 - in 17 - { 18 - extraPlugins = [ 19 - plugin 20 - ]; 21 - extraConfigLua = " 22 - require(\"42header\").setup { 23 - default_map = true, -- Default mapping <F1> in normal mode. 24 - auto_update = true, -- Update header when saving. 25 - user = \"adjoly\", -- Your user. 26 - mail = \"adjoly@student.42angouleme.fr\", -- Your mail. 27 - -- add other options. 28 - } 29 - "; 30 - }
···
-1
pkgs/keyznvim/config/plugins/default.nix
··· 3 }: 4 { 5 imports = [ 6 - # ./42header.nix 7 ./autodarkmode.nix 8 ./auto-session.nix 9 ./harpoon.nix
··· 3 }: 4 { 5 imports = [ 6 ./autodarkmode.nix 7 ./auto-session.nix 8 ./harpoon.nix