Switched onedrive from custom service to default one + removed unused unstable packages

This commit is contained in:
Filippo Berto 2022-11-28 10:11:35 +01:00
parent d065d01f89
commit 86484e6bfd
No known key found for this signature in database
GPG key ID: FE98AE5EC52B1056
7 changed files with 77 additions and 20 deletions

84
flake.lock generated
View file

@ -1,5 +1,21 @@
{ {
"nodes": { "nodes": {
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1668681692,
"narHash": "sha256-Ht91NGdewz8IQLtWZ9LCeNXMSXHUss+9COoqu6JLmXU=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "009399224d5e398d03b22badca40a37ac85412a1",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1667395993,
@ -15,6 +31,27 @@
"type": "github" "type": "github"
} }
}, },
"gitignore": {
"inputs": {
"nixpkgs": [
"pre-commit-hooks",
"nixpkgs"
]
},
"locked": {
"lastModified": 1660459072,
"narHash": "sha256-8DFJjXG8zqoONA1vXtgeKXy68KdJL5UaXR8NtVMUbx8=",
"owner": "hercules-ci",
"repo": "gitignore.nix",
"rev": "a20de23b925fd8264fd7fad6454652e142fd7f73",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "gitignore.nix",
"type": "github"
}
},
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -62,11 +99,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1668334946, "lastModified": 1669146234,
"narHash": "sha256-omMbUj4r5DVBWh7KxkoO/Z/1V1shVR6Ls4jXNB4mr3U=", "narHash": "sha256-HEby7EG1yaq1oT2Ze6Cvok9CFju1XHkSvVHmkptLW9U=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "e0452b33ab0ef16ffe075e980644ed92a6a200bb", "rev": "0099253ad0b5283f06ffe31cf010af3f9ad7837d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -77,11 +114,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1668766498, "lastModified": 1669625751,
"narHash": "sha256-UjZlIrbHGlL3H3HZNPTxPSwJfr49jIfbPWCYxk0EQm4=", "narHash": "sha256-KIT7X/L0h0e5gbvvU3rPsrWsftei6i8obXPlvBYAy1A=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "f42a45c015f28ac3beeb0df360e50cdbf495d44b", "rev": "cc7ae74d400f29260eab2f48f1f44a10914d0f9c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -91,13 +128,29 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-u": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1668765800, "lastModified": 1668984258,
"narHash": "sha256-rC40+/W6Hio7b/RsY8SvQPKNx4WqNcTgfYv8cUMAvJk=", "narHash": "sha256-0gDMJ2T3qf58xgcSbYoXiRGUkPWmKyr5C3vcathWhKs=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "52b2ac8ae18bbad4374ff0dd5aeee0fdf1aea739", "rev": "cf63ade6f74bbc9d2a017290f1b2e33e8fbfa70a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-22.05",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-u": {
"locked": {
"lastModified": 1669411043,
"narHash": "sha256-LfPd3+EY+jaIHTRIEOUtHXuanxm59YKgUacmSzaqMLc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5dc7114b7b256d217fe7752f1614be2514e61bb8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -134,19 +187,22 @@
}, },
"pre-commit-hooks_2": { "pre-commit-hooks_2": {
"inputs": { "inputs": {
"flake-compat": "flake-compat",
"flake-utils": [ "flake-utils": [
"flake-utils" "flake-utils"
], ],
"gitignore": "gitignore",
"nixpkgs": [ "nixpkgs": [
"nixpkgs-u" "nixpkgs-u"
] ],
"nixpkgs-stable": "nixpkgs-stable"
}, },
"locked": { "locked": {
"lastModified": 1667992213, "lastModified": 1669152228,
"narHash": "sha256-8Ens8ozllvlaFMCZBxg6S7oUyynYx2v7yleC5M0jJsE=", "narHash": "sha256-FEDReoTLWJHXcNso7aaAlAUU7uOqIR6Hc/C/nqlfooE=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "ebcbfe09d2bd6d15f68de3a0ebb1e4dcb5cd324b", "rev": "078b0dee35e2da01334af682ec347463b70a9986",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -2,10 +2,10 @@
let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette; let palette = pkgs.lib.rice.palette.toRGBHex pkgs.rice.colorPalette;
in in
{ {
home.packages = with pkgs; [ unstable.dunst rice.font.normal.package ]; home.packages = with pkgs; [ dunst rice.font.normal.package ];
services.dunst = { services.dunst = {
enable = true; enable = true;
package = pkgs.unstable.dunst; # package = pkgs.unstable.dunst;
iconTheme = { iconTheme = {
package = pkgs.qogir-icon-theme; package = pkgs.qogir-icon-theme;
name = "Qogir-dark"; name = "Qogir-dark";

View file

@ -11,7 +11,7 @@
enable = true; enable = true;
location = "center"; location = "center";
font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}"; font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
package = pkgs.unstable.rofi; # package = pkgs.unstable.rofi;
plugins = with pkgs.unstable;[ plugins = with pkgs.unstable;[
rofi-calc rofi-calc
]; ];

View file

@ -167,7 +167,7 @@ with lib; {
syntaxHighlighting.enable = true; syntaxHighlighting.enable = true;
}; };
# List services that you want to enable: services.onedrive.enable = true;
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
services.openssh = { services.openssh = {

View file

@ -141,7 +141,7 @@
../hm_modules/nushell.nix ../hm_modules/nushell.nix
../hm_modules/obs-studio.nix ../hm_modules/obs-studio.nix
../hm_modules/office.nix ../hm_modules/office.nix
../hm_modules/onedrive.nix # ../hm_modules/onedrive.nix
../hm_modules/pass.nix ../hm_modules/pass.nix
../hm_modules/picom.nix ../hm_modules/picom.nix
../hm_modules/polybar.nix ../hm_modules/polybar.nix

View file

@ -120,6 +120,7 @@ with lib; {
package = pkgs.gnome3.gvfs; package = pkgs.gnome3.gvfs;
}; };
fwupd.enable = true; fwupd.enable = true;
onedrive.enable = true;
openssh = { openssh = {
enable = true; enable = true;
openFirewall = true; openFirewall = true;

View file

@ -122,7 +122,7 @@
../hm_modules/nushell.nix ../hm_modules/nushell.nix
../hm_modules/obs-studio.nix ../hm_modules/obs-studio.nix
../hm_modules/office.nix ../hm_modules/office.nix
../hm_modules/onedrive.nix # ../hm_modules/onedrive.nix
../hm_modules/pass.nix ../hm_modules/pass.nix
../hm_modules/picom.nix ../hm_modules/picom.nix
../hm_modules/polybar.nix ../hm_modules/polybar.nix