Compare commits

..

No commits in common. "03d7dcbc244cb4e5f2131db0b41d55219b39bbc6" and "a8d273df45cec74bea392a1a0a39812e05609ed5" have entirely different histories.

7 changed files with 33 additions and 31 deletions

18
flake.lock generated
View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1720167120, "lastModified": 1714515075,
"narHash": "sha256-K9JYdlPiyaXp33JRg7CT8rMwH56e4ncXSsXW/YKnNXc=", "narHash": "sha256-azMK7aWH0eUc3IqU4Fg5rwZdB9WZBvimOGG3piqvtsY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "bbe6e94737289c8cb92d4d8f9199fbfe4f11c0ba", "rev": "6d3b6dc9222c12b951169becdf4b0592ee9576ef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -22,11 +22,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1720031269, "lastModified": 1714253743,
"narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=", "narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9f4128e00b0ae8ec65918efeba59db998750ead6", "rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -37,11 +37,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1720197433, "lastModified": 1714596740,
"narHash": "sha256-kC6RnEZFVMHe+fTL0V4+QvXmRnpBrEG+8q4HCi+KAmo=", "narHash": "sha256-V3ZR38xu3JSUrg04wMTp0fzDSP+ogNJOOU5ckreCzLQ=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "6d6488e9ee482b67d1ad9aff902acd4d6b482fd3", "rev": "c8456769a0904ac761020a76bf0bb72a92c27c7c",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -51,8 +51,9 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.graphics = { hardware.opengl = {
enable = true; enable = true;
driSupport = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver intel-media-driver
vaapiVdpau vaapiVdpau
@ -60,6 +61,8 @@
]; ];
}; };
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "ephase" ]; users.extraGroups.vboxusers.members = [ "ephase" ];
hardware.opengl.driSupport32Bit = true;
} }

View file

@ -43,8 +43,10 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.graphics.enable32Bit = true; hardware.opengl.enable = true;
hardware.graphics.extraPackages = with pkgs; [ hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
hardware.opengl.extraPackages = with pkgs; [
intel-media-driver intel-media-driver
]; ];
} }

View file

@ -64,8 +64,9 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = true; hardware.cpu.amd.updateMicrocode = true;
hardware.graphics = { hardware.opengl = {
enable32Bit = true; driSupport = true;
driSupport32Bit = true;
}; };
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.xpadneo.enable = true; hardware.xpadneo.enable = true;

View file

@ -128,7 +128,7 @@ in
home.pointerCursor = { home.pointerCursor = {
name = "Adwaita"; name = "Adwaita";
package = pkgs.adwaita-icon-theme; package = pkgs.gnome.adwaita-icon-theme;
size = 24; size = 24;
x11 = { x11 = {
enable = true; enable = true;

View file

@ -4,21 +4,18 @@ with lib;
config = mkIf config.modules.desktop.sway.enable { config = mkIf config.modules.desktop.sway.enable {
services.kanshi = { services.kanshi = {
enable = config.modules.desktop.sway.kanshi ; enable = config.modules.desktop.sway.kanshi ;
settings = [ profiles = {
{ standalone = {
outputs = [
profile.name = "standalone";
profile.outputs = [
{ {
criteria = "eDP-1"; criteria = "eDP-1";
scale = 1.33; scale = 1.33;
status = "enable"; status = "enable";
} }
]; ];
} };
{ home = {
profile.name = "home"; outputs = [
profile.outputs = [
{ {
criteria = "Iiyama North America PL2792UH 1166310803122"; criteria = "Iiyama North America PL2792UH 1166310803122";
mode = "3840x2160"; mode = "3840x2160";
@ -37,10 +34,9 @@ with lib;
status = "disable"; status = "disable";
} }
]; ];
} };
{ work = {
profile.name = "work"; outputs = [
profile.outputs = [
{ {
criteria = "Iiyama North America PL2480H 11183M2807013"; criteria = "Iiyama North America PL2480H 11183M2807013";
mode = "1920x1080"; mode = "1920x1080";
@ -56,8 +52,8 @@ with lib;
status = "disable"; status = "disable";
} }
]; ];
} };
]; };
}; };
}; };
} }

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
nix = { nix = {
package = pkgs.nixVersions.latest; package = pkgs.nixUnstable;
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';