Compare commits
7 commits
a8d273df45
...
03d7dcbc24
Author | SHA1 | Date | |
---|---|---|---|
03d7dcbc24 | |||
dce2206d6d | |||
87b1cce77d | |||
c09a76b349 | |||
4a1c9bf163 | |||
a5bd4f4c83 | |||
cba8025da5 |
7 changed files with 31 additions and 33 deletions
18
flake.lock
generated
18
flake.lock
generated
|
@ -7,11 +7,11 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1714515075,
|
||||
"narHash": "sha256-azMK7aWH0eUc3IqU4Fg5rwZdB9WZBvimOGG3piqvtsY=",
|
||||
"lastModified": 1720167120,
|
||||
"narHash": "sha256-K9JYdlPiyaXp33JRg7CT8rMwH56e4ncXSsXW/YKnNXc=",
|
||||
"owner": "nix-community",
|
||||
"repo": "home-manager",
|
||||
"rev": "6d3b6dc9222c12b951169becdf4b0592ee9576ef",
|
||||
"rev": "bbe6e94737289c8cb92d4d8f9199fbfe4f11c0ba",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -22,11 +22,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1714253743,
|
||||
"narHash": "sha256-mdTQw2XlariysyScCv2tTE45QSU9v/ezLcHJ22f0Nxc=",
|
||||
"lastModified": 1720031269,
|
||||
"narHash": "sha256-rwz8NJZV+387rnWpTYcXaRNvzUSnnF9aHONoJIYmiUQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "58a1abdbae3217ca6b702f03d3b35125d88a2994",
|
||||
"rev": "9f4128e00b0ae8ec65918efeba59db998750ead6",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -37,11 +37,11 @@
|
|||
},
|
||||
"nur": {
|
||||
"locked": {
|
||||
"lastModified": 1714596740,
|
||||
"narHash": "sha256-V3ZR38xu3JSUrg04wMTp0fzDSP+ogNJOOU5ckreCzLQ=",
|
||||
"lastModified": 1720197433,
|
||||
"narHash": "sha256-kC6RnEZFVMHe+fTL0V4+QvXmRnpBrEG+8q4HCi+KAmo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "NUR",
|
||||
"rev": "c8456769a0904ac761020a76bf0bb72a92c27c7c",
|
||||
"rev": "6d6488e9ee482b67d1ad9aff902acd4d6b482fd3",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -51,9 +51,8 @@
|
|||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.opengl = {
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
vaapiVdpau
|
||||
|
@ -61,8 +60,6 @@
|
|||
];
|
||||
};
|
||||
|
||||
|
||||
virtualisation.virtualbox.host.enable = true;
|
||||
users.extraGroups.vboxusers.members = [ "ephase" ];
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
}
|
||||
|
|
|
@ -43,10 +43,8 @@
|
|||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
hardware.opengl.enable = true;
|
||||
hardware.opengl.driSupport = true;
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.opengl.extraPackages = with pkgs; [
|
||||
hardware.graphics.enable32Bit = true;
|
||||
hardware.graphics.extraPackages = with pkgs; [
|
||||
intel-media-driver
|
||||
];
|
||||
}
|
||||
|
|
|
@ -64,9 +64,8 @@
|
|||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
hardware.cpu.amd.updateMicrocode = true;
|
||||
hardware.opengl = {
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
hardware.graphics = {
|
||||
enable32Bit = true;
|
||||
};
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.xpadneo.enable = true;
|
||||
|
|
|
@ -128,7 +128,7 @@ in
|
|||
|
||||
home.pointerCursor = {
|
||||
name = "Adwaita";
|
||||
package = pkgs.gnome.adwaita-icon-theme;
|
||||
package = pkgs.adwaita-icon-theme;
|
||||
size = 24;
|
||||
x11 = {
|
||||
enable = true;
|
||||
|
|
|
@ -4,18 +4,21 @@ with lib;
|
|||
config = mkIf config.modules.desktop.sway.enable {
|
||||
services.kanshi = {
|
||||
enable = config.modules.desktop.sway.kanshi ;
|
||||
profiles = {
|
||||
standalone = {
|
||||
outputs = [
|
||||
settings = [
|
||||
{
|
||||
|
||||
profile.name = "standalone";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "eDP-1";
|
||||
scale = 1.33;
|
||||
status = "enable";
|
||||
}
|
||||
];
|
||||
};
|
||||
home = {
|
||||
outputs = [
|
||||
}
|
||||
{
|
||||
profile.name = "home";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "Iiyama North America PL2792UH 1166310803122";
|
||||
mode = "3840x2160";
|
||||
|
@ -34,9 +37,10 @@ with lib;
|
|||
status = "disable";
|
||||
}
|
||||
];
|
||||
};
|
||||
work = {
|
||||
outputs = [
|
||||
}
|
||||
{
|
||||
profile.name = "work";
|
||||
profile.outputs = [
|
||||
{
|
||||
criteria = "Iiyama North America PL2480H 11183M2807013";
|
||||
mode = "1920x1080";
|
||||
|
@ -52,8 +56,8 @@ with lib;
|
|||
status = "disable";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
nix = {
|
||||
package = pkgs.nixUnstable;
|
||||
package = pkgs.nixVersions.latest;
|
||||
extraOptions = ''
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue