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

Configure Feed

Select the types of activity you want to include in your feed.

ใ€Œ๐Ÿ—๏ธใ€ wip: added DEV-BOYY pc

adjoly 4f9a8b24 08e73cfa

+329 -299
+24 -24
flake.lock
··· 5 5 "nixpkgs": "nixpkgs" 6 6 }, 7 7 "locked": { 8 - "lastModified": 1746175539, 9 - "narHash": "sha256-/wjcn1CDQqOhwOoYKS8Xp0KejrdXSJZQMF1CbbrVtMw=", 8 + "lastModified": 1746896926, 9 + "narHash": "sha256-rrpqPPUI+8xJ2ye2UsR5wFjhZo9lp+BZ/RAtPwsSrj0=", 10 10 "owner": "catppuccin", 11 11 "repo": "nix", 12 - "rev": "a5db9e41a4dccfa5ffe38e6f1841a5f9ad5c5c04", 12 + "rev": "bbc926d6f93a7cdad1cd38dc1410cea23589a40e", 13 13 "type": "github" 14 14 }, 15 15 "original": { ··· 23 23 "nixpkgs": "nixpkgs_2" 24 24 }, 25 25 "locked": { 26 - "lastModified": 1746411114, 27 - "narHash": "sha256-mLlkVX1kKbAa/Ns5u26wDYw4YW4ziMFM21fhtRmfirU=", 26 + "lastModified": 1746729224, 27 + "narHash": "sha256-9R4sOLAK1w3Bq54H3XOJogdc7a6C2bLLmatOQ+5pf5w=", 28 28 "owner": "nix-community", 29 29 "repo": "disko", 30 - "rev": "b5d1320ebc2f34dbea4655f95167f55e2130cdb3", 30 + "rev": "85555d27ded84604ad6657ecca255a03fd878607", 31 31 "type": "github" 32 32 }, 33 33 "original": { ··· 132 132 ] 133 133 }, 134 134 "locked": { 135 - "lastModified": 1746171682, 136 - "narHash": "sha256-EyXUNSa+H+YvGVuQJP1nZskXAowxKYp79RNUsNdQTj4=", 135 + "lastModified": 1747020534, 136 + "narHash": "sha256-D/6rkiC6w2p+4SwRiVKrWIeYzun8FBg7NlMKMwQMxO0=", 137 137 "owner": "nix-community", 138 138 "repo": "home-manager", 139 - "rev": "50eee705bbdbac942074a8c120e8194185633675", 139 + "rev": "b4bbdc6fde16fc2051fcde232f6e288cd22007ca", 140 140 "type": "github" 141 141 }, 142 142 "original": { ··· 153 153 ] 154 154 }, 155 155 "locked": { 156 - "lastModified": 1746585355, 157 - "narHash": "sha256-p+3fK8HEYC+0q4gPKSE4OSRxqt5H/tWZkB9wF7aaWOY=", 156 + "lastModified": 1747155932, 157 + "narHash": "sha256-NnPzzXEqfYjfrimLzK0JOBItfdEJdP/i6SNTuunCGgw=", 158 158 "owner": "nix-community", 159 159 "repo": "home-manager", 160 - "rev": "35535345be0be7dbae2e9b787c6cf790f8c893d5", 160 + "rev": "8d832ddfda9facf538f3dda9b6985fb0234f151c", 161 161 "type": "github" 162 162 }, 163 163 "original": { ··· 174 174 ] 175 175 }, 176 176 "locked": { 177 - "lastModified": 1743417258, 178 - "narHash": "sha256-YItzk1pj8Kz+b7VlC9zN1pSZ6CuX35asYy3HuMQ3lBQ=", 177 + "lastModified": 1747045452, 178 + "narHash": "sha256-VKs/GtedyOrcWiEOf9JPPX6ZgKzngXTVMUlqsL60G/c=", 179 179 "owner": "hyprwm", 180 180 "repo": "contrib", 181 - "rev": "bc2ad24e0b2e66c3e164994c4897cd94a933fd10", 181 + "rev": "8e6c02ac3dfbff878ef300266598737ee9cedf94", 182 182 "type": "github" 183 183 }, 184 184 "original": { ··· 287 287 }, 288 288 "nixpkgs_2": { 289 289 "locked": { 290 - "lastModified": 1746300365, 291 - "narHash": "sha256-thYTdWqCRipwPRxWiTiH1vusLuAy0okjOyzRx4hLWh4=", 290 + "lastModified": 1746576598, 291 + "narHash": "sha256-FshoQvr6Aor5SnORVvh/ZdJ1Sa2U4ZrIMwKBX5k2wu0=", 292 292 "owner": "NixOS", 293 293 "repo": "nixpkgs", 294 - "rev": "f21e4546e3ede7ae34d12a84602a22246b31f7e0", 294 + "rev": "b3582c75c7f21ce0b429898980eddbbf05c68e55", 295 295 "type": "github" 296 296 }, 297 297 "original": { ··· 335 335 }, 336 336 "nixpkgs_5": { 337 337 "locked": { 338 - "lastModified": 1746557022, 339 - "narHash": "sha256-QkNoyEf6TbaTW5UZYX0OkwIJ/ZMeKSSoOMnSDPQuol0=", 338 + "lastModified": 1746957726, 339 + "narHash": "sha256-k9ut1LSfHCr0AW82ttEQzXVCqmyWVA5+SHJkS5ID/Jo=", 340 340 "owner": "nixos", 341 341 "repo": "nixpkgs", 342 - "rev": "1d3aeb5a193b9ff13f63f4d9cc169fb88129f860", 342 + "rev": "a39ed32a651fdee6842ec930761e31d1f242cb94", 343 343 "type": "github" 344 344 }, 345 345 "original": { ··· 448 448 }, 449 449 "unstablepkgs": { 450 450 "locked": { 451 - "lastModified": 1746461020, 452 - "narHash": "sha256-7+pG1I9jvxNlmln4YgnlW4o+w0TZX24k688mibiFDUE=", 451 + "lastModified": 1746904237, 452 + "narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=", 453 453 "owner": "nixos", 454 454 "repo": "nixpkgs", 455 - "rev": "3730d8a308f94996a9ba7c7138ede69c1b9ac4ae", 455 + "rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956", 456 456 "type": "github" 457 457 }, 458 458 "original": {
+66 -72
flake.nix
··· 1 1 { 2 2 description = "KeyZox's config"; 3 - inputs = { 4 - nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; 5 - 6 - nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; 7 - 8 - unstablepkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 9 - 10 - nixos-hardware.url = "github:keyzox71/nixos-hardware/master"; 11 - 12 - catppuccin.url = "github:catppuccin/nix"; 13 - 14 - home-manager = { 15 - url = "github:nix-community/home-manager/release-24.11"; 16 - inputs.nixpkgs.follows = "nixpkgs"; 17 - }; 18 - 19 - fastclass.url = "github:seekrs/fastclass/nixxing"; 20 - 21 - home-unstable = { 22 - url = "github:nix-community/home-manager/master"; 23 - inputs.nixpkgs.follows = "unstablepkgs"; 24 - }; 25 - 26 - keyznvim = { 27 - url = "github:keyzox71/nvim/indev"; 28 - inputs.nixpkgs.follows = "nixpkgs"; 29 - }; 30 - 31 - pogit = { 32 - url = "github:y-syo/pogit"; 33 - inputs.nixpkgs.follows = "nixpkgs"; # to use your nixpkgs instance instead of the provided one 34 - }; 35 - 36 - hyprland-contrib = { 37 - url = "github:hyprwm/contrib"; 38 - inputs.nixpkgs.follows = "nixpkgs"; 39 - }; 40 - 41 - zen-browser = { 42 - url = "github:keyzox71/zen-browser-flake"; 43 - inputs.nixpkgs.follows = "nixpkgs"; 44 - }; 45 - timmy = { 46 - url = "github:keyzox71/timmy"; 47 - inputs.nixpkgs.follows = "nixpkgs"; 48 - }; 49 - 50 - disko = { 51 - url = "github:nix-community/disko"; 52 - }; 53 - }; 54 - 55 - # nixConfig = { 56 - # substituters = [ "https://catppuccin.cachix.org" ]; 57 - # trusted-public-keys = [ "catppuccin.cachix.org-1:noG/4HkbhJb+lUAdKrph6LaozJvAeEEZj4N732IysmU=" ]; 58 - # }; 59 3 60 4 outputs = 61 5 inputs@{ ··· 65 9 home-manager, 66 10 nixos-hardware, 67 11 nixos-wsl, 12 + disko, 68 13 ... 69 14 }: 70 15 let 71 - supportedSystems = [ 72 - "x86_64-linux" 73 - "x86_64-darwin" 74 - ]; 75 - forSystems = nixpkgs.lib.genAttrs supportedSystems; 76 16 inherit (self) outputs; 77 17 in 78 18 { 79 19 nixosConfigurations = { 80 - LAPTOP-5530-ADAM = nixpkgs.lib.nixosSystem { 20 + DEV-BOYY = nixpkgs.lib.nixosSystem { 81 21 system = "x86_64-linux"; 82 22 specialArgs = { inherit inputs outputs; }; 83 23 modules = [ 84 - ./hosts/LAPTOP-5530-ADAM/default.nix 24 + ./hosts/DEV-BOYY/default.nix 85 25 86 - inputs.disko.nixosModules.disko 26 + disko.nixosModules.disko 87 27 catppuccin.nixosModules.catppuccin 88 - nixos-hardware.nixosModules.dell-precision-5530 89 28 ]; 90 29 }; 91 - nixos-server = nixpkgs.lib.nixosSystem { 30 + LAPTOP-5530-ADAM = nixpkgs.lib.nixosSystem { 92 31 system = "x86_64-linux"; 93 32 specialArgs = { inherit inputs outputs; }; 94 33 modules = [ 95 - ./hosts/NIXOS-SERVER/default.nix 34 + ./hosts/LAPTOP-5530-ADAM/default.nix 96 35 97 - inputs.disko.nixosModules.disko 36 + disko.nixosModules.disko 37 + catppuccin.nixosModules.catppuccin 38 + nixos-hardware.nixosModules.dell-precision-5530 98 39 ]; 99 40 }; 100 - vm-adjoly = nixpkgs.lib.nixosSystem { 41 + nixos-server = nixpkgs.lib.nixosSystem { 101 42 system = "x86_64-linux"; 102 43 specialArgs = { inherit inputs outputs; }; 103 44 modules = [ 104 - ./hosts/VIRTUAL-BOX-VM/default.nix 45 + ./hosts/NIXOS-SERVER/default.nix 105 46 106 - catppuccin.nixosModules.catppuccin 47 + inputs.disko.nixosModules.disko 107 48 ]; 108 49 }; 109 50 wsl-adjoly = nixpkgs.lib.nixosSystem { ··· 125 66 ./home/adjoly/home42.nix 126 67 { 127 68 home = { 128 - homeDirectory = "/nfs/homes/adjoly"; 69 + homeDirectory = "/home/adjoly"; 129 70 username = "adjoly"; 130 71 }; 131 72 } ··· 134 75 }; 135 76 }; 136 77 }; 78 + 79 + inputs = { 80 + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; 81 + 82 + nixos-wsl.url = "github:nix-community/NixOS-WSL/main"; 83 + 84 + unstablepkgs.url = "github:nixos/nixpkgs/nixos-unstable"; 85 + 86 + nixos-hardware.url = "github:keyzox71/nixos-hardware/master"; 87 + 88 + catppuccin.url = "github:catppuccin/nix"; 89 + 90 + home-manager = { 91 + url = "github:nix-community/home-manager/release-24.11"; 92 + inputs.nixpkgs.follows = "nixpkgs"; 93 + }; 94 + 95 + fastclass.url = "github:seekrs/fastclass/nixxing"; 96 + 97 + home-unstable = { 98 + url = "github:nix-community/home-manager/master"; 99 + inputs.nixpkgs.follows = "unstablepkgs"; 100 + }; 101 + 102 + keyznvim = { 103 + url = "github:keyzox71/nvim/indev"; 104 + inputs.nixpkgs.follows = "nixpkgs"; 105 + }; 106 + 107 + pogit = { 108 + url = "github:y-syo/pogit"; 109 + inputs.nixpkgs.follows = "nixpkgs"; 110 + }; 111 + 112 + hyprland-contrib = { 113 + url = "github:hyprwm/contrib"; 114 + inputs.nixpkgs.follows = "nixpkgs"; 115 + }; 116 + 117 + zen-browser = { 118 + url = "github:keyzox71/zen-browser-flake"; 119 + inputs.nixpkgs.follows = "nixpkgs"; 120 + }; 121 + timmy = { 122 + url = "github:keyzox71/timmy"; 123 + inputs.nixpkgs.follows = "nixpkgs"; 124 + }; 125 + 126 + disko = { 127 + url = "github:nix-community/disko"; 128 + }; 129 + }; 130 + 137 131 }
+22
hosts/DEV-BOYY/boot.nix
··· 1 + { ... }: 2 + 3 + { 4 + boot = { 5 + loader = { 6 + efi = { 7 + canTouchEfiVariables = true; 8 + efiSysMountPoint = "/boot"; 9 + }; 10 + grub = { 11 + enable = true; 12 + efiSupport = true; 13 + device = "nodev"; 14 + useOSProber = true; 15 + }; 16 + }; 17 + supportedFilesystems = [ "ntfs" ]; 18 + blacklistedKernelModules = [ 19 + "nouveau" 20 + ]; 21 + }; 22 + }
+121
hosts/DEV-BOYY/default.nix
··· 1 + { 2 + pkgs, 3 + inputs, 4 + outputs, 5 + ... 6 + }: 7 + 8 + { 9 + imports = [ 10 + ./env.nix 11 + ./boot.nix 12 + ./fonts.nix 13 + ./hardware 14 + ./services 15 + ./programs 16 + 17 + inputs.home-manager.nixosModules.home-manager 18 + ]; 19 + 20 + nixpkgs = { 21 + config = { 22 + allowUnfree = true; 23 + }; 24 + }; 25 + 26 + security.pam.services.hyprlock = { }; 27 + 28 + environment.variables = { 29 + QT_STYLE_OVERRIDE = "Fusion"; 30 + QT_QPA_PLATFORM = "wayland"; 31 + GDK_BACKEND = "wayland"; 32 + NIXOS_OZONE_WL = "1"; 33 + CLUTTER_BACKEND = "wayland"; 34 + KITTY_ENABLE_WAYLAND = "1"; 35 + MOZ_ENABLE_WAYLAND = 1; 36 + }; 37 + programs.dconf.enable = true; 38 + 39 + nix.settings = { 40 + trusted-users = [ 41 + "adjoly" 42 + ]; 43 + experimental-features = [ 44 + "nix-command" 45 + "flakes" 46 + ]; 47 + }; 48 + 49 + programs.zsh.enable = true; 50 + programs.fish.enable = true; 51 + 52 + environment.systemPackages = with pkgs; [ 53 + git 54 + zsh 55 + nil 56 + vim 57 + wget 58 + curl 59 + btop 60 + unzip 61 + wluma 62 + plexamp 63 + firefox 64 + chiaki-ng 65 + bluetuith 66 + cifs-utils 67 + xfce.thunar 68 + wl-clipboard 69 + brightnessctl 70 + docker-compose 71 + xfce.thunar-volman 72 + xfce.thunar-archive-plugin 73 + xfce.thunar-media-tags-plugin 74 + inputs.zen-browser.packages.${pkgs.system}.default 75 + inputs.hyprland-contrib.packages.${pkgs.system}.grimblast 76 + ]; 77 + 78 + programs.ssh.startAgent = true; 79 + programs.seahorse.enable = true; 80 + services.gnome.gnome-keyring.enable = true; 81 + 82 + hardware.bluetooth.enable = true; # enables support for Bluetooth 83 + hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot 84 + 85 + users.users.adjoly = { 86 + shell = pkgs.zsh; 87 + isNormalUser = true; 88 + initialPassword = "kanelthego@t"; 89 + extraGroups = [ 90 + "docker" 91 + "audio" 92 + "video" 93 + "input" 94 + "networkmanager" 95 + "wheel" 96 + "sudo" 97 + "vboxusers" 98 + ]; 99 + }; 100 + virtualisation.docker.enable = true; 101 + 102 + catppuccin = { 103 + enable = true; 104 + flavor = "frappe"; 105 + accent = "lavender"; 106 + }; 107 + 108 + home-manager = { 109 + useUserPackages = true; 110 + extraSpecialArgs = { inherit inputs outputs; }; 111 + users.adjoly = import ../../home/adjoly/home.nix; 112 + }; 113 + 114 + # This value determines the NixOS release from which the default 115 + # settings for stateful data, like file locations and database versions 116 + # on your system were taken. Itโ€˜s perfectly fine and recommended to leave 117 + # this value at the release version of the first install of this system. 118 + # Before changing this value read the documentation for this option 119 + # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 120 + system.stateVersion = "24.11"; # Did you read the comment? 121 + }
+10
hosts/DEV-BOYY/programs/android-studio.nix
··· 1 + { pkgs, ... }: 2 + { 3 + users.users.adjoly.extraGroups = [ "kvm" "adbusers" ]; 4 + programs = { 5 + adb.enable = true; 6 + }; 7 + environment.systemPackages = with pkgs; [ 8 + android-studio 9 + ]; 10 + }
+9
hosts/DEV-BOYY/programs/default.nix
··· 1 + { ... }: 2 + 3 + { 4 + imports = [ 5 + # ./game.nix 6 + ./hyprland.nix 7 + # ./android-studio.nix 8 + ]; 9 + }
+8
hosts/DEV-BOYY/programs/game.nix
··· 1 + { pkgs, ... }: 2 + { 3 + programs.steam = { 4 + enable = true; 5 + extest.enable = true; 6 + extraCompatPackages = with pkgs; [ proton-ge-bin ]; 7 + }; 8 + }
+12
hosts/DEV-BOYY/services/default.nix
··· 1 + { ... }: 2 + 3 + { 4 + imports = [ 5 + ./ly.nix 6 + #./sddm.nix 7 + ./sound.nix 8 + ./network.nix 9 + ./xserver.nix 10 + ./wireguard.nix 11 + ]; 12 + }
+11
hosts/DEV-BOYY/services/ly.nix
··· 1 + { ... }: 2 + { 3 + services.displayManager.ly = { 4 + enable = true; 5 + settings = { 6 + load = true; 7 + save = true; 8 + animation = "doom"; 9 + }; 10 + }; 11 + }
+15
hosts/DEV-BOYY/services/sound.nix
··· 1 + { ... }: 2 + 3 + { 4 + hardware.pulseaudio.enable = false; 5 + security.rtkit.enable = true; 6 + services.pipewire = { 7 + enable = true; 8 + alsa = { 9 + enable = true; 10 + support32Bit = true; 11 + }; 12 + pulse.enable = true; 13 + jack.enable = true; 14 + }; 15 + }
+23
hosts/DEV-BOYY/services/wireguard.nix
··· 1 + { ... }: 2 + 3 + { 4 + networking.wg-quick.interfaces = { 5 + wg0 = { 6 + address = [ "100.117.135.231/32" ]; 7 + dns = [ "10.255.255.1" ]; 8 + privateKeyFile = "/home/adjoly/workspace/wg-windscribe/privKey"; 9 + peers = [ 10 + { 11 + allowedIPs = [ 12 + "0.0.0.0/0" 13 + "::/0" 14 + ]; 15 + endpoint = "bru-99-wg.whiskergalaxy.com:443"; 16 + publicKey = "TA+nBx5qMBdyIiug4SHgbw30/GXrRZ2aUAH7MQHJwzc="; 17 + presharedKeyFile = "/home/adjoly/workspace/wg-windscribe/preSharedKey"; 18 + } 19 + ]; 20 + autostart = false; 21 + }; 22 + }; 23 + }
+2 -5
hosts/LAPTOP-5530-ADAM/default.nix
··· 10 10 ./env.nix 11 11 ./boot.nix 12 12 ./fonts.nix 13 - 14 13 ./hardware 15 - ./programs 16 - ./services 17 - ./virtualisation 14 + ./programs 15 + ./virtualisation/ 18 16 19 17 inputs.home-manager.nixosModules.home-manager 20 18 ]; ··· 90 88 users.users.adjoly = { 91 89 shell = pkgs.zsh; 92 90 isNormalUser = true; 93 - initialPassword = "test"; 94 91 extraGroups = [ 95 92 "docker" 96 93 "audio"
-25
hosts/LAPTOP-5530-ADAM/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 - { config, lib, pkgs, modulesPath, ... }: 5 - 6 - { 7 - imports = 8 - [ (modulesPath + "/installer/scan/not-detected.nix") 9 - ]; 10 - 11 - boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "uas" "sd_mod" "rtsx_pci_sdmmc" ]; 12 - boot.initrd.kernelModules = [ ]; 13 - boot.kernelModules = [ "kvm-intel" ]; 14 - boot.extraModulePackages = [ ]; 15 - 16 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 17 - # (the default) this is the recommended approach. When using systemd-networkd it's 18 - # still possible to use this option, but it's recommended to use it in conjunction 19 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 20 - networking.useDHCP = lib.mkDefault true; 21 - # networking.interfaces.wlp59s0.useDHCP = lib.mkDefault true; 22 - 23 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 24 - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; 25 - }
-22
hosts/VIRTUAL-BOX-VM/boot.nix
··· 1 - { ... }: 2 - 3 - { 4 - boot = { 5 - loader = { 6 - efi = { 7 - canTouchEfiVariables = true; 8 - efiSysMountPoint = "/boot"; 9 - }; 10 - grub = { 11 - device = "nodev"; 12 - enable = true; 13 - efiSupport = true; 14 - }; 15 - }; 16 - blacklistedKernelModules = [ 17 - "nouveau" 18 - ]; 19 - kernelModules = [ 20 - ]; 21 - }; 22 - }
-101
hosts/VIRTUAL-BOX-VM/default.nix
··· 1 - { 2 - pkgs, 3 - inputs, 4 - outputs, 5 - ... 6 - }: 7 - 8 - { 9 - imports = [ 10 - ./env.nix 11 - ./virt.nix 12 - ./boot.nix 13 - ./fonts.nix 14 - 15 - ./hardware 16 - #./programs 17 - ./services 18 - 19 - #inputs.home-manager.nixosModules.home-manager 20 - ]; 21 - 22 - nixpkgs = { 23 - config = { 24 - allowUnfree = true; 25 - }; 26 - }; 27 - 28 - # security.pam.services.hyprlock = { }; 29 - 30 - environment.variables = { 31 - GDK_BACKEND = "wayland"; 32 - NIXOS_OZONE_WL = "1"; 33 - CLUTTER_BACKEND = "wayland"; 34 - KITTY_ENABLE_WAYLAND = "1"; 35 - MOZ_ENABLE_WAYLAND = 1; 36 - }; 37 - programs.dconf.enable = true; 38 - 39 - nix.settings.experimental-features = [ 40 - "nix-command" 41 - "flakes" 42 - ]; 43 - 44 - programs.zsh.enable = true; 45 - 46 - environment.systemPackages = with pkgs; [ 47 - git 48 - zsh 49 - #nil 50 - vim 51 - wget 52 - #curl 53 - btop 54 - unzip 55 - wluma 56 - firefox 57 - bluetuith 58 - cifs-utils 59 - wl-clipboard 60 - brightnessctl 61 - inputs.zen-browser.packages.${pkgs.system}.default 62 - #inputs.hyprland-contrib.packages.${pkgs.system}.grimblast 63 - ]; 64 - programs.ssh.startAgent = true; 65 - programs.seahorse.enable = true; 66 - services.gnome.gnome-keyring.enable = true; 67 - 68 - users.users.adjoly = { 69 - shell = pkgs.zsh; 70 - isNormalUser = true; 71 - extraGroups = [ 72 - "docker" 73 - "audio" 74 - "video" 75 - "input" 76 - "networkmanager" 77 - "wheel" 78 - "sudo" 79 - ]; 80 - }; 81 - 82 - catppuccin = { 83 - enable = true; 84 - flavor = "frappe"; 85 - accent = "lavender"; 86 - }; 87 - 88 - # home-manager = { 89 - # useUserPackages = true; 90 - # extraSpecialArgs = { inherit inputs outputs; }; 91 - # users.adjoly = import ../../home/adjoly/home-lite.nix; 92 - # }; 93 - 94 - # This value determines the NixOS release from which the default 95 - # settings for stateful data, like file locations and database versions 96 - # on your system were taken. Itโ€˜s perfectly fine and recommended to leave 97 - # this value at the release version of the first install of this system. 98 - # Before changing this value read the documentation for this option 99 - # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). 100 - system.stateVersion = "24.05"; # Did you read the comment? 101 - }
+2 -2
hosts/VIRTUAL-BOX-VM/env.nix hosts/DEV-BOYY/env.nix
··· 1 - { pkgs, lib, config, inputs, outputs, ... }: 1 + { ... }: 2 2 3 3 { 4 4 ··· 19 19 LC_TIME = "fr_FR.UTF-8"; 20 20 }; 21 21 22 - } 22 + }
hosts/VIRTUAL-BOX-VM/fonts.nix hosts/DEV-BOYY/fonts.nix
+1 -1
hosts/VIRTUAL-BOX-VM/hardware/default.nix hosts/DEV-BOYY/hardware/default.nix
··· 1 1 { ... }: 2 + 2 3 { 3 4 imports = [ 4 - ./disk-part.nix 5 5 ./hardware-configuration.nix 6 6 ]; 7 7 }
-23
hosts/VIRTUAL-BOX-VM/hardware/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 - { config, lib, pkgs, modulesPath, ... }: 5 - 6 - { 7 - imports = [ ]; 8 - 9 - boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ]; 10 - boot.initrd.kernelModules = [ ]; 11 - boot.kernelModules = [ ]; 12 - boot.extraModulePackages = [ ]; 13 - 14 - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 15 - # (the default) this is the recommended approach. When using systemd-networkd it's 16 - # still possible to use this option, but it's recommended to use it in conjunction 17 - # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. 18 - networking.useDHCP = lib.mkDefault true; 19 - # networking.interfaces.enp0s3.useDHCP = lib.mkDefault true; 20 - 21 - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; 22 - virtualisation.virtualbox.guest.enable = true; 23 - }
-7
hosts/VIRTUAL-BOX-VM/programs/default.nix
··· 1 - { ... }: 2 - 3 - { 4 - imports = [ 5 - ./hyprland.nix 6 - ]; 7 - }
+1 -1
hosts/VIRTUAL-BOX-VM/programs/hyprland.nix hosts/DEV-BOYY/programs/hyprland.nix
··· 9 9 enable = true; 10 10 }; 11 11 environment.sessionVariables = { 12 - #WLR_NO_HARDWARE_CURSORS = "1"; 12 + WLR_NO_HARDWARE_CURSORS = "1"; 13 13 NIXOS_OZONE_WL = "1"; 14 14 }; 15 15 }
-9
hosts/VIRTUAL-BOX-VM/services/default.nix
··· 1 - { ... }: 2 - 3 - { 4 - imports = [ 5 - ./network.nix 6 - ./sddm.nix 7 - ./xserver.nix 8 - ]; 9 - }
+1 -1
hosts/VIRTUAL-BOX-VM/services/network.nix hosts/DEV-BOYY/services/network.nix
··· 2 2 3 3 { 4 4 networking = { 5 - hostName = "vm-adjoly"; 5 + hostName = "LAPTOP-5530-ADAM"; 6 6 networkmanager.enable = true; 7 7 firewall = { 8 8 enable = false;
hosts/VIRTUAL-BOX-VM/services/sddm.nix hosts/DEV-BOYY/services/sddm.nix
+1
hosts/VIRTUAL-BOX-VM/services/xserver.nix hosts/DEV-BOYY/services/xserver.nix
··· 6 6 }; 7 7 services.xserver = { 8 8 enable = true; 9 + videoDrivers = [ "modesetting" "nvidia" ]; 9 10 xkb = { 10 11 layout = "us"; 11 12 variant = "intl";
-6
hosts/VIRTUAL-BOX-VM/virt.nix
··· 1 - { pkgs, ... }: 2 - 3 - { 4 - virtualisation.virtualbox.guest.enable = true; 5 - virtualisation.virtualbox.guest.dragAndDrop = true; 6 - }