Update dependencies

This commit is contained in:
Kiana Sheibani 2023-05-15 10:47:52 -04:00
parent de450dbc1a
commit 1a00023564
7 changed files with 21 additions and 45 deletions

View file

@ -27,6 +27,7 @@ in {
nix-direnv-with-flakes nix-direnv-with-flakes
]; ];
programs.fish.enable = true;
programs.sway.enable = true; programs.sway.enable = true;
programs.sway.extraPackages = []; programs.sway.extraPackages = [];

View file

@ -4,15 +4,14 @@
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ]
"utils": "utils"
}, },
"locked": { "locked": {
"lastModified": 1670280307, "lastModified": 1682779989,
"narHash": "sha256-3x+0whP1nCz5adQMIsBA3L9fI/ABOpRUJdbw0AmxBnU=", "narHash": "sha256-H8AjcIBYFYrlRobYJ+n1B+ZJ6TsaaeZpuLn4iRqVvr4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2af0d07678fc15612345e0dd55337550dcf6465f", "rev": "3144311f31194b537808ae6848f86f3dbf977d59",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -25,11 +24,11 @@
"mobile-nixos": { "mobile-nixos": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1670190044, "lastModified": 1677546929,
"narHash": "sha256-YA3ochLKXQAv2p5GWHToIJdqJ/iyVIwCBeE5DoSrS0o=", "narHash": "sha256-KwGBgdRq/yWBfp3UVSm3s+kI2PGpsNkXVqsDMQppBaI=",
"owner": "wentam", "owner": "wentam",
"repo": "mobile-nixos", "repo": "mobile-nixos",
"rev": "93ce16b1a18e1ef83027d93c1f478926c6d75a76", "rev": "7f49a14c58fc8cace414a04b48ba5619ed025e13",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -41,11 +40,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1670174919, "lastModified": 1680876084,
"narHash": "sha256-XdQr3BUnrvVLRFunLWrZORhwYHDG0+9jUUe0Jv1pths=", "narHash": "sha256-eP9yxP0wc7XuVaODugh+ajgbFGaile2O1ihxiLxOuvU=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9d87bc030a0bf3f00e953dbf095a7d8e852dab6b", "rev": "3006d2860a6ed5e01b0c3e7ffb730e9b293116e2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -56,11 +55,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1670242877, "lastModified": 1682692304,
"narHash": "sha256-jBLh7dRHnbfvPPA9znOC6oQfKrCPJ0El8Zoe0BqnCjQ=", "narHash": "sha256-9/lyXN2BpHw+1xE+D2ySBSLMCHWqiWu5tPHBMRDib8M=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "6e51c97f1c849efdfd4f3b78a4870e6aa2da4198", "rev": "937a9d1ee7b1351d8c55fff6611a8edf6e7c1c37",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -111,21 +110,6 @@
"repo": "tokyo-night-sddm", "repo": "tokyo-night-sddm",
"type": "github" "type": "github"
} }
},
"utils": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
} }
}, },
"root": "root", "root": "root",

View file

@ -30,7 +30,7 @@ outputs = { self,
lib = nixpkgs.lib; lib = nixpkgs.lib;
in { in {
nixosConfigurations = { nixosConfigurations = {
"${username}-desktop" = lib.makeOverridable lib.nixosSystem { "${username}-desktop" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./config ./config
@ -51,7 +51,7 @@ outputs = { self,
]; ];
}; };
"${username}-laptop" = lib.makeOverridable lib.nixosSystem { "${username}-laptop" = lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ modules = [
./config ./config
@ -61,7 +61,7 @@ outputs = { self,
./platform.nix ./platform.nix
./hardware-configuration/laptop.nix ./hardware-configuration/laptop.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nixos-hardware.nixosModules.microsoft-surface nixos-hardware.nixosModules.microsoft-surface-pro-intel
{ {
home-manager.users.${username} = import ./home-manager; home-manager.users.${username} = import ./home-manager;
@ -73,7 +73,7 @@ outputs = { self,
]; ];
}; };
"${username}-mobile" = lib.makeOverridable lib.nixosSystem { "${username}-mobile" = lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
modules = [ modules = [
./config ./config

View file

@ -1,6 +1,3 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
boot.loader.grub.useOSProber = true; boot.loader.grub.useOSProber = true;

View file

@ -1,12 +1,11 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }: { config, lib, pkgs, modulesPath, ... }:
{ {
boot.loader.grub.useOSProber = true; boot.loader.grub.useOSProber = true;
hardware.enableRedistributableFirmware = true; hardware.enableRedistributableFirmware = true;
hardware.enableAllFirmware = true; hardware.enableAllFirmware = true;
microsoft-surface.kernelVersion = "6.1.18";
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ]; boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ]; boot.kernelModules = [ "kvm-intel" ];
@ -27,6 +26,4 @@
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
virtualisation.hypervGuest.enable = true; virtualisation.hypervGuest.enable = true;
# high-resolution display
hardware.video.hidpi.enable = lib.mkDefault true;
} }

View file

@ -1,6 +1,3 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
fileSystems."/" = fileSystems."/" =

View file

@ -1,6 +1,6 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
programs.mako = { services.mako = {
enable = true; enable = true;
font = "UbuntuMono Light 11"; font = "UbuntuMono Light 11";