New install

This commit is contained in:
2025-07-18 16:25:27 +03:00
committed by Sweetbread
parent b27399db29
commit ba0aac7807
6 changed files with 27 additions and 20 deletions
+2 -2
View File
@@ -4,14 +4,14 @@
nixConfig = { nixConfig = {
extra-substituters = [ extra-substituters = [
"https://nix-community.cachix.org" "https://nix-community.cachix.org"
"https://cache.garnix.io" # "https://cache.garnix.io"
"https://hyprland.cachix.org" "https://hyprland.cachix.org"
"https://ezkea.cachix.org" "https://ezkea.cachix.org"
"https://risdeveau.cachix.org" "https://risdeveau.cachix.org"
]; ];
extra-trusted-public-keys = [ extra-trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" # "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI=" "ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
"risdeveau.cachix.org-1:TsoFSVeLl7iKtUYGX7qsvKPjf2vbNLfLC5v3SAdU8r0=" "risdeveau.cachix.org-1:TsoFSVeLl7iKtUYGX7qsvKPjf2vbNLfLC5v3SAdU8r0="
+1
View File
@@ -28,4 +28,5 @@ in {
nixpkgs.config.allowBroken = true; nixpkgs.config.allowBroken = true;
programs.gamemode.enable = true; programs.gamemode.enable = true;
services.printing.enable = true;
} }
+11 -11
View File
@@ -13,27 +13,27 @@
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" = {
{ device = "/dev/disk/by-uuid/34e32809-6876-4361-95d8-70a479ea8e19"; device = "/dev/disk/by-label/NixOS";
fsType = "ext4"; fsType = "ext4";
}; };
fileSystems."/boot" = fileSystems."/boot" = {
{ device = "/dev/disk/by-uuid/2B65-0D2E"; device = "/dev/disk/by-partlabel/EFI\\x20system\\x20partition";
fsType = "vfat"; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" "nofail" ];
}; };
fileSystems."/mnt/D" = { fileSystems."/mnt/D" = {
device = "/dev/disk/by-uuid/E030A4DF30A4BDC2"; device = "/dev/disk/by-uuid/E030A4DF30A4BDC2";
fsType = "ntfs"; fsType = "ntfs";
options = ["umask=0022" "gid=100" "uid=1002"]; options = ["umask=0022" "gid=100" "uid=1000" "nofail" ];
}; };
fileSystems."/mnt/F" = { fileSystems."/mnt/F" = {
device = "/dev/disk/by-uuid/1C6278FC2848E1EF"; device = "/dev/disk/by-uuid/1C6278FC2848E1EF";
fsType = "ntfs"; fsType = "ntfs";
options = ["umask=0022" "gid=100" "uid=1002"]; options = ["umask=0022" "gid=100" "uid=1000" "nofail" ];
}; };
swapDevices = [ ]; swapDevices = [ ];
+11 -5
View File
@@ -1,9 +1,15 @@
{ config, lib, ... }: { config, lib, pkgs, ... }:
lib.mkIf config.services.printing.enable { lib.mkIf config.services.printing.enable {
services.avahi = { services = {
enable = true; printing.drivers = with pkgs; [
nssmdns4 = true; brlaser
openFirewall = true; ];
avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}; };
} }
+1 -1
View File
@@ -2,7 +2,7 @@
icon = pkgs.fetchurl { icon = pkgs.fetchurl {
url = "https://preview.redd.it/a2nga4jvjy291.png?width=640&crop=smart&auto=webp&s=7d1458b41101c960bc13c28a6b92c5a6ddc20210"; url = "https://preview.redd.it/a2nga4jvjy291.png?width=640&crop=smart&auto=webp&s=7d1458b41101c960bc13c28a6b92c5a6ddc20210";
name = "nixos-chan.png"; name = "nixos-chan.png";
sha256 = "sha256-9pleL+PiiylT8/aWw0iGve1iY3h0XohSQ7MVILzabHY="; sha256 = "sha256-dAms/+CgYrao2b8omXEdS/HnjGUa++ol5jjpvej39Og=";
}; };
in { in {
home.packages = [ pkgs.neofetch ]; home.packages = [ pkgs.neofetch ];
+1 -1
View File
@@ -15,7 +15,7 @@
in { in {
settings = { settings = {
monitor = ",preferred,auto,1"; monitor = ",preferred,auto,1";
exec-once =["${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-1 --noautomute"]; exec-once =["${lib.getExe pkgs.linux-wallpaperengine} ~/.local/share/wpe/wallpaper --assets-dir ~/.local/share/wpe/assets --screen-root DP-3 --noautomute"];
general = { general = {
gaps_in = 5; gaps_in = 5;
gaps_out = 5; gaps_out = 5;